View Single Post
Old 16th January 2012, 09:55 PM
kjiwa Offline
Registered User
Join Date: Jan 2012
Location: Seattle
Posts: 4
httpd cannot read from /home

I'm having some trouble with httpd on Fedora 16.

$ rpm -q httpd 
$ cat /etc/redhat-release 
Fedora release 16 (Verne)
I have the following vhost config:

NameVirtualHost *:80

<VirtualHost *:80>
 ServerName localhost
 Alias /tmp/ /home/kjiwa/tmp/
I've ensured that the correct permissions are set on /home/kjiwa and /home/kjiwa/tmp so that the apache user can read from those locations.

When I try to access http://localhost/tmp/index.html (a file which exists), I get a 403. The httpd error log shows this:

[Mon Jan 16 12:48:50 2012] [error] [client] (13)Permission denied: access to /tmp/index.html denied
httpd can read from other locations, though, such as /srv/httpd or /var/www. Any ideas about what I have to change so that it can also read from my home directory?

Reply With Quote