LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   VHOST Setup Problem (http://www.litespeedtech.com/support/forum/showthread.php?t=302)

zoom 11-28-2005 03:10 PM

VHOST Setup Problem
 
Hi,
I've just download and installed LSWS and I seem to be having a problem getting it to work for my test virtual host. The server files are installed in /usr/local/lsws and my webroot is /www.

For my test virtual host (thor.example.com) I have the virtual host root pointing to /www/sites/thor and my docroot point for the virtual host (thor.example.com) pointing to $VH_ROOT/html. Each time I hit the site I get a 404 error. I changed my permissions for the files to have the same permissions as the webserver "nobody", still no luck. I'm able to browse the files with the command "sudo -u nobody ls /www/sites/thor/html".

Is there a wiki somewher that might have tutorial which goes step by step of a named based virtual host setup using LSWS. Any help would be appreciated. Thanks

mistwang 11-28-2005 06:02 PM

Zoom,

Thank you for trying our product.

Have you configured the listener->vhost mapping under listener configuration?

Have you configured index files properly?

Also, check your lsws/logs/error.log, see if anything logged. And you can turn on the debug logging by setting "Debug Level" to "High".

We have a simple howto available
http://www.litespeedtech.com/docs/Ho...html#qa_namevh

Best Regards,
George Wang

zoom 11-28-2005 09:53 PM

Thanks George,
I was able to track down the problem. It was DNS related.


All times are GMT -7. The time now is 01:10 AM.