RE: apache query
| From: Mark Carroll [mailto:markc@chiark.greenend.org.uk]
| Sent: 21 October 2002 14:33
|
| I don't need apache to be serving my machine's documentation
| as /doc/ and certainly don't want it broadcasting to the rest
| of the Internet effectively what packages and versions I have
| installed, for security reasons. So, I commented out "Alias
| /doc/ /usr/doc/" from srm.conf.
Note that in /etc/apache/httpd.conf just after the /doc/ alias line is:
<Location /doc>
order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0
Options Indexes FollowSymLinks MultiViews
</Location>
Which says that the /doc/ alias is only available from localhost, and
not from anywhere else in the world. I always go in and add "allow from
192.168.0.0/255.255.0.0" so I can get at it from other machines on my
LAN.
| Was commenting the line out the wrong way to do this? What
| can I do to stop these aliases being added again by future "upgrades"?
I don't know how to do that, but then I've never wanted to.
-Randy
Reply to: