Description of problem: "Deny"ing web requests results in RH welcome page Version-Release number of selected component (if applicable): [chrismcc@webtest168 tmp]$ rpm -q httpd httpd-2.0.46-17.ent How reproducible: Always Steps to Reproduce: 1. Add Deny from line to httpd.conf e.g. <Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all Deny from 192.168.0.0/16 </Directory> 2. access page 3. Actual results: Get: This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. Expected results: Get "Authorization denied, go away" Additional info:
sounds like an enhancement request, not a bug.
My reasoning: having a "default page" , good. having anything show up when it should be denied, bad. I thought it would be relatively easy to do this "a slightly better way". The <Location ... directive takes precidence over any <Directory ... directives. So there isn't really a "better way" to configure the same thing. But I think having the "welcome page" be /var/www/html/index.html is preferable. My $0.02
Just get rid of it if you don't want it - the new page explains this :) # echo > /etc/httpd/conf.d/welcome.conf It is *not* preferable to version /var/www/html/index.html itself, since that means we'd blow away your own index.html on upgrades etc. So given the need for a welcome page and the need for not putting in /var/www/html, this is the best way we could come up with for implementing it. If you can come up with a better way, please reopen!