Bug 33120

Summary: can't read /usr/share/doc in apache
Product: [Retired] Red Hat Linux Reporter: Chris Runge <crunge>
Component: apacheAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-25 16:55:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Runge 2001-03-25 16:55:23 UTC
Florence qa0322

Reading doc doesn't work when "allow from" is set to localhost, but does
when set to 127.0.0.1.

e.g., this is the default /etc/httpd/conf/httpd.conf file that doesn't work:

# Allow access to local system documentation from localhost
Alias /doc/ /usr/share/doc/
<Location /doc>
  order deny,allow
  deny from all
  allow from localhost
  Options Indexes FollowSymLinks
</Location>

this does:

# Allow access to local system documentation from localhost
Alias /doc/ /usr/share/doc/
<Location /doc>
  order deny,allow
  deny from all
  #allow from localhost
  allow from 127.0.0.1
  Options Indexes FollowSymLinks
</Location>

Comment 1 Nalin Dahyabhai 2001-03-28 23:23:42 UTC
The allow statement will be changed to "allow localhost .localdomain" in
apache-1.3.19-4 and later.  Thanks!