Voytek Eymont wrote:

on restart I get:

# service httpd restart
                                           [  OK  ]
Starting httpd: Warning: DocumentRoot [/home/sbt.net.au/www] does not exist

What user are you executing the following ls commands as?

# ls /home/sbt.net.au/www -al
total 24
drwxr-xr-x  2 apache apache 4096 Mar 18 23:55 .
drwxr-xr-x  4 root   root   4096 May 30 10:15 ..
-rw-r--r--  1 apache apache    9 Mar 18 23:53 index.html

# ls /home/sbt.net.au/ -al
total 40
drwxr-xr-x  4 root   root   4096 May 30 10:15 .
drwxr-xr-x  8 root   root   4096 Mar 18 23:52 ..
drwxr-xr-x  3 root   root   4096 Mar 18 22:50 error
-rw-r--r--  1 root   apache   20 May 30 10:15 index.html
drwxr-xr-x  2 apache apache 4096 Mar 18 23:55 www

When apache gives me weirdness like this, I login as user
apache (assuming that is what the web server runs as) and
then execute the same commands, i.e. the ls above.



cheers
rickw



--
_________________________________
Rick Welykochy || Praxis Services

We should invade their countries, kill their leaders and
convert them to Christianity.
     -- Anne Coulter of the "American Taliban"
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to