|
|

01-19-2005, 06:10 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
The permission should be set properly not only for public_html, but also for all of its parent directories, the user that the web server running as should be able to access that directory.
Your changes has been saved to the configuration file, but "public_html" is not accessible, error log shows that already.
For the failed listener problem, please do "killall lshttpd" from command line to make sure all lshttpd process had stoped.
check if any application using port "7080", do "netstat -an | grep 7080".
|

01-19-2005, 06:19 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
Quote:
|
Originally Posted by cyberzen
I noticed this line in error.log
2005-01-19 16:30:54.926 [NOTICE] [ADMIN] server socket: 127.0.0.1:7777
how do I change the localhost address to hardcoded IP? I think this is the one causing problems
|
You cannot and it is not the problem.
The problem is that your firewall rule blocks connections to that address, so you can not apply changes from admin interface.
Your changes made in the admin interface has been saved to configuration file, what you need is just a manual restart from command line.
Then the permission of "/opt/lsws/zhentai/public_html/" is not set properly somewhere alone the path, so lshttpd can not access that directory, fix the permssion problem, then restart web server, you problem should be solved.
Those two problems does not related to each other, you need to fix them one by one. :-)
|

01-19-2005, 07:58 PM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
|
Ok I turned off my firewall, and also chmod my entire home dir to 777, I reinstalled lsws to home dir under /home/lsws
Basically what I do after install if, I copy the dir DEFAULT to whatever name my domain is like mydomain dir, then I acces web admin and I configure the paths.
I was able to setup one listener, but the rest are not running, virtual hosts are up now tho. It just doesnt seem to be mapping correctly.
Am I doing something wrong?
[/img]
|

01-19-2005, 08:03 PM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
|
Ok I found out whats wrong, even though I specified document root for one of my domains to be
/home/mydomain/public_html
it's still pointing doc root to
/home/lsws/mydomain/html
why? I've double checked my settings in the web admin and doc root is set to /home/mydomain/public_html
|

01-19-2005, 08:53 PM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
Yay finally got one of my domains working! However my other listeners are still not working for my other domains 
Also I still don't understand why my doc root is still going to /home/lsws/zhentai/html
basically to get it to work I just copied my html files over, so its just a stop gap fix, what i'd really want is to specify that my doc root goes to
/home/zhentai/public_html
any suggestions?
|

01-19-2005, 09:42 PM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
Another problem, is that I put in index.html,index.htm for the index files in general server settings, but when I enter http://mydomain.com/subdir i still cannot access the index.htm file.
|

01-19-2005, 09:48 PM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
|
YAY finally managed to get everything to work!! Thanks for all your help dude.
|

01-19-2005, 09:48 PM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
|
BTW found the answer for the index prob, I had to specify in the virtual host setting to use the server setting.
|

01-19-2005, 10:07 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
Quote:
|
Originally Posted by cyberzen
Yay finally got one of my domains working!  However my other listeners are still not working for my other domains 
|
Are those listeners started properly, is the listener to vhost mapping set properly? Please check the error log and make proper adjustment.
Quote:
Also I still don't understand why my doc root is still going to /home/lsws/zhentai/html
basically to get it to work I just copied my html files over, so its just a stop gap fix, what i'd really want is to specify that my doc root goes to
/home/zhentai/public_html
any suggestions?
|
Make sure permissions for /home and /home/zhentai are set properly in addition to public_html, if those files are owned by another user, then you should let nobody join the group of that user. You really need to read some document and have a good understanding of Unix security model. ;-)
|

01-20-2005, 04:13 AM
|
|
Member
|
|
Join Date: Sep 2004
Posts: 29
|
|
|
Its a dedicated server, plus I have 34wldsf;ksdf90 password heh
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 08:35 AM.
|
|