[thelist] Apache configuration tip

Steve Lewis slewis at macrovista.net
Wed Jul 24 22:41:00 CDT 2002


Had to do this again today so I thought I would pass along the knowledge
because I know this can get tricky sometimes.

<tip author="Steve Lewis" topic="Configuring Apache web server">

To control access to a privledged directory or area of your website you
can use the following method to restrict the (range of) client
address(es).  NOTE: if you need to post as well, you can do <Limit GET
POST> instead.

#
# Controls who can get stuff from this server.
#
     <Limit GET>
         Order deny,allow
         Deny from all
         Allow from /your IP here/
         Allow from 127.0.0.1
     </Limit>
#    Order allow,deny
#    Allow from all
</tip>

--Steve




More information about the thelist mailing list