httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Axelsen" <axels...@amadmax.com>
Subject Directory Restriction
Date Mon, 22 Jul 2002 13:34:04 GMT
Here is my setup.  I Have allowoveride set to authconfig indexes limit

The web root file carries a .htaccess file that reads the following:

Order Deny,Allow
Deny from All
Allow from 192.168.0
AuthType Basic
AuthName "Axman's Website"
AuthUserFile /var/www/.htpasswd
require valid-user
Satisfy Any

Now my challenge is that I want to restrict access from certain folders
to only local and not over the internet.  I have added rules such as to
the httpd.conf:

<Location /manual/*>
    Order Deny,Allow
    Deny from all
    Allow from 192.168.0
    AllowOverride None
</Location>

The rule works fine when the .htaccess file is removed.  How do I set
everything to make it work for me?

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa@amadmax.com
URL: www.amadmax.com
 
"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message