Hello,
I dont have access to the server conf file so...
Using .htaccess how can I deny access to a perl script in the cgi-bin from all user agents including user agents that are unknown but accept from a user agent with a CustomWord in the user agent string.
Like: "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; CustomWord)"
Keeping in mind that the CustomWord is the one I want to identify and allow, every other user agent without this word or with no useragent at all will get a banned page.
I hope this makes sence.
I tried with a cgi snippet but it doesnt work very well.
I read about the mod_access, but I dont beleive my host allows it. So is their a rewritecondition rule I can use.
How would it be written and will the .htaccess file be in the cgi-bin or the root.



Andrea

Bookmarks