Exception for allow/deny directive possible? [SOLVED]
Posted: Tue Feb 08, 2005 3:56 pm
Let's say I have a .htaccess file similar to this:
This will effectively restrict access to the website (or a directory and subdirs) to only the above listed IPs. Request for any file coming from IP not listed there will get a 403 Permission Denied Error.
But with this settings in place, I'd like to make an exception for one file. In other words, one particular file, let's say "exception.html" should be available to any request from any IP unlike the other files.
Is this possible?
Thanks!
Tomas
Code: Select all
Order Deny,Allow
allow from 123.132.123.132
allow from 123.132.123.133
Deny from allBut with this settings in place, I'd like to make an exception for one file. In other words, one particular file, let's say "exception.html" should be available to any request from any IP unlike the other files.
Is this possible?
Thanks!
Tomas