Denying Access to Apache 1.x
| From: | Matt | Date: | Mon, 20 Nov 2000 01:01:39 +0000 |
| Subject: | Denying Access to Apache 1.x | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26116@lists.php.net to get a copy of this message | ||
Hi everyone ! I'm running Apache on Windows 2000 and i'm trying to restrict all requests to the server except those coming from my own ip address (or localhost, if that works). Currently my documents sit in
c:\htdocs
and i'm using the following lines to restrict access at the very bottom of httpd.conf:
<Location "c:\htdocs">
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost
</Location>
Should this work ? My Servername is set to localhost
Many thanks to anyone that can answer this one :)
-- Matt
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at http://profiles.msn.com.