Bug 33120 - can't read /usr/share/doc in apache
can't read /usr/share/doc in apache
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-25 11:55 EST by Chris Runge
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-25 11:55:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Runge 2001-03-25 11:55:23 EST
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 18:23:42 EST
The allow statement will be changed to "allow localhost .localdomain" in
apache-1.3.19-4 and later.  Thanks!

Note You need to log in before you can comment on or make changes to this bug.