Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mod_rewrite

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anybody know how to block all ext.
except for a few in mod_rewrite


thankz
Helios






 
Hi,

Not sure what you want to do exactly but it sounds easier to use mod_access. For example something like :

<Directory /test>
order deny, allow
allow from 192.168.1.0/255.255.255.0
allow from 202.1.1.1 202.1.1.2
allow from .nicedomain.com
deny from all
</Directory>

Or is it not that simple ?

Regards

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top