[solved] virtual host document root error

cac

New Member
#1
Hi,

Trying to set up virtual host Document Root directory in Configuration -> Virtual Hosts -> [name of our virtual host] -> General -> Document Root. When we specify /home/httpd/htdocs/domain-name, and click Save, the admin interface gives an error '*path /home/httpd/htdocs/domain-name does not exist. Please create manually.' Even though we've verified the path certainly does exist. It's currently owned by user 'httpd'.

We've tried adding the lsadm user to the http group, still no luck. Do we need to create a directory that's owned by lsadm? Litespeed server process currently running as 'user(httpd) : group(httpd)'. So we're not sure why it wouldn't be able to read this directory.

Thanks
 

Attachments

Last edited by a moderator:

cac

New Member
#3
[root@web15 ~]# ls -ld /home/httpd/htdocs
lrwxrwxrwx 1 root root 16 Nov 30 17:47 /home/httpd/htdocs -> /sandbox/htdocs/
[root@web15 ~]# ls -ld /home/httpd/htdocs/
dr-xrwx--- 5 httpd ftp 4096 May 25 16:39 /home/httpd/htdocs/


[root@web15 ~]# ls -ld /home/httpd/htdocs/domain-name
dr-xrwxr-x 81 httpd ftp 20480 May 20 14:50 /home/httpd/htdocs/domain-name
 

webizen

Well-Known Member
#4
do either of the followings:

1. add lsadm to ftp group
2. change group ownership of /sandbox/htdocs/ to httpd
 
Last edited:
Top