PDA

View Full Version : Virtual Host Root Folder DOES exist, LiteSpeed doesn't think so


tseven
03-09-2010, 03:54 PM
When trying to create a new virtual server or instantiate one from the php template I get the following error:


Please fix error: Virtual Host Root /home/folder/domain.com does not exist.

The folder does in fact exist. I can copy the path and run a stat on it just fine.

The folder and all files inside are owned by the same user and group the server is running under with normal permission. I even tried chmoding everything 775 out of desperation.

My virtual host template has the following path settings:
Virtual Host Root: /home/folder/$VH_NAME
Config File: $SERVER_ROOT/conf/$VH_NAME.xml
Document Root: $VH_ROOT/public/

Any suggestions or ideas on how to fix this will be appreciated.

Thanks

NiteWave
03-09-2010, 06:47 PM
check if /home/folder/domain.com is readable by user "lsadm"

admin console is running as process "admin_php" as lsadm

tseven
03-09-2010, 07:42 PM
Ah that's probably it. lsadm does have a secondary group which is the file/folder owners group.

So my website dir is owned by user "homer" group "homer" and lsadm has a secondary group of "homer".

The root dir im currently storing the files is in /home/homer/www

Does this mean i would need to chmod all the files/folders 775? Or would it be better move the web dir outside into something like /var/www ?

Thank you for your reply.

NiteWave
03-09-2010, 08:27 PM
>Does this mean i would need to chmod all the files/folders 775?

maybe not. for example,
Document Root: $VH_ROOT/public/
can be what you want.