Re: [users@httpd] Warning: Documentroot doesn't exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[root@webdev html]# ls -l /home/httpd/webdev/html
total 16
-rwxrw-r--  1 root www 10 Mar  1 11:41 index.htm
-rwxr-xr-x  1 root www 20 Mar  1 11:41 index.php

It looks pretty similar to me.

jay


For each folder from / up to hmtl, do ls -ld and check your permissions.

Patrick


What I'm finding strange is this. If I use the VirtualDocumentRoot /home/httpd/webdev/html Apache doesn't issue the warning message upon starting up. However, I get a 403 Forbidden message when i try to go to the site's index.htm.

I did notice that the DocumentRoot in the 'Main server configuration' section is /var/www/html. I messed around with that to see if I could get the /home/httpd/webdev/html directory working. Unfortunately I couldn't therefore I changed the DocumentRoot to /var/www/webdev/html and everything is working fine. Below is my VH section.

<VirtualHost 198.214.140.243:80>
        ServerAdmin webmaser@xxxxxxxxxxxxx
        DocumentRoot /var/www/webdev/html
        ServerName webdev.sedl.org
        DirectoryIndex index.php index.htm index.html index.cgi
        ScriptAlias /cgi-bin/ "/var/www/webdev/cgi-bin/"
        ErrorLog logs/error_log
        CustomLog logs/access_log combined
</VirtualHost>

For some reason Apache doesn't complain about this and I don't get teh 403 Forbidden error message.

jay


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux