Author |
|
cathysmith
Joined: 10 Mar 2010 Posts: 3
|
Posted: Wed 10 Mar '10 7:44 Post subject: Directory Access Denied for virtual host |
|
|
I'm running Apache 2.2.11 on RHEL5. I am attempting to set up a 2d virtual host but keep running into the
Directory Access Denied
This Virtual Directory does not allow contents to be listed
Nothing logged to my files. I've tried to open up the access in the Directory block to see what's going on, but without any success. Permissions on all directories are 775. Here is the configuration for the vhost:
# edulink.foo.org
<Directory "/apps/edulink">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
#
<VirtualHost 192.168.29.137:80>
ServerAdmin cathy.smith@pnl.gov
DocumentRoot "/apps/edulink/"
ServerName edulink.foo.org
ServerAlias edulink
ErrorLog "logs/edulink_error_log"
CustomLog "logs/edulink_access_log" combined
</VirtualHost>
Can someone recommend how to open access to the virtual hosts's directory?
Thank you.
Cathy |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7405 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 10 Mar '10 10:55 Post subject: |
|
|
Do you get any error when try
|
|
Back to top |
|
cathysmith
Joined: 10 Mar 2010 Posts: 3
|
Posted: Wed 10 Mar '10 11:35 Post subject: |
|
|
No errors. It lists the server and the 2 virtual hosts that I have defined.
[root@wfp3e tmp]# apachectl -t
Syntax OK
root@wfp3e:/tmp
[root@wfp3e tmp]# apachectl -S
VirtualHost configuration:
192.168.29.148:80 is a NameVirtualHost
default server wfp3e.pnl.gov (/apps/httpd-2.2.11/conf/extra/httpd-vhosts.conf:4
port 80 namevhost wfp3e.pnl.gov (/apps/httpd-2.2.11/conf/extra/httpd-vhosts.conf:4
192.168.29.148:443 wfp3e.pnl.gov (/apps/httpd-2.2.11/conf/extra/httpd-ssl.conf:81)
192.168.29.144:80 is a NameVirtualHost
default server demo.foo.org (/apps/httpd-2.2.11/conf/extra/httpd-vhosts.conf:95)
port 80 namevhost demo.foo.org (/apps/httpd-2.2.11/conf/extra/httpd-vhosts.conf:95)
192.168.29.144:443 is a NameVirtualHost
default server demo.foo.org (/apps/httpd-2.2.11/conf/extra/httpd-ssl.conf:244)
port 443 namevhost demo.foo.org (/apps/httpd-2.2.11/conf/extra/httpd-ssl.conf:244)
192.168.29.137:80 is a NameVirtualHost
default server edulink.foo.org (/apps/httpd-2.2.11/conf/extra/httpd-vhosts.conf:75)
port 80 namevhost edulink.foo.org (/apps/httpd-2.2.11/conf/extra/httpd-vhosts.conf:75)
Syntax OK |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 10 Mar '10 17:29 Post subject: |
|
|
SELinux? |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7405 Location: EU, Germany, Next to Hamburg
|
|
Back to top |
|
cathysmith
Joined: 10 Mar 2010 Posts: 3
|
Posted: Fri 12 Mar '10 2:42 Post subject: |
|
|
SELinux is disaled. |
|
Back to top |
|