[CentOS] httpd on centos 7

Jerry Geis

geisj at pagestation.com
Thu Oct 23 12:21:18 UTC 2014


I have read the info on apache 2.4...

I added to the bottom of httpd.conf these lines (and restarted httpd)

-------------------------
<Directory /var/www/html>
# old 2.2 config
# Order Allow,Deny
# Allow from all
AllowOverride None
Require all granted
</Directory>

<Directory /home/silentm/public_html/gifs>
AllowOverride None
Require all granted
</Directory>

SuexecUsergroup silentm silentm


------------------

So now I have access to the index.html page in /var/www/html
so that is good. However, I do not have access to the user gifs
/home/silentm/public_html/gifs

The user silentm exists. I get a 404 error.
127.0.0.1 - - [23/Oct/2014:08:14:21 -0400] "GET /~silentm/gifs/smlogo.jpg
HTTP/1.1" 404 222 "-" "curl/7.29.0"

All the files are there - all owned by silentm.


What did I miss to access the gifs?

Thanks

Jerry



More information about the CentOS mailing list