Re: Apache server read permissions

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

 



James D. Parra wrote:
<snip>
NameVirtualHost 192.168.101.101
<VirtualHost 192.168.101.101>
DocumentRoot /var/www/html/ddd  <---- Look here
ServerName "www.domainname.com:80"  <----  You don't need the ':80'
ServerAlias "domainname.com"
        ErrorLog /var/log/httpd/ddd_error_log
        TransferLog /var/log/httpd/ddd_access_log
<Directory "/var/www/html/ddd">  <------ And here
Options Indexes
order allow,deny
allow from all
</Directory>
        </VirtualHost>
You don't have permission to access / on this server.

See below.


You don't have permission to access /index.html on this server

More below.


~~~~
From the error log;

[Fri Oct 03 11:26:29 2003] [crit] [client 192.168.101.201] (13)Permission denied: /var/www/html/cci/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable ~~~~

Your document root path in the error message (/var/www/html/cci/) is different than that you have in you config file (/var/www/html/ddd). Is this machine hosting multiple sites (Virtual hosts)? If it is, does the box have more than one IP? If only one IP, and Virtual hosts, do you have DNS pointing to the box for the different names?


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux