RewriteCond in .htaccess

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
phppage
Forum Contributor
Posts: 126
Joined: Mon Apr 24, 2006 1:47 pm
Location: West Yorkshire, UK

RewriteCond in .htaccess

Post by phppage »

http://www.javascriptkit.com/howto/htaccess13.shtml

Has anyone tried anything like the above? Is there any draw backs? Looks to be a good idea to me but wondering if there was a catch??
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

'bad bots' have configurable user-agent string.
User avatar
phppage
Forum Contributor
Posts: 126
Joined: Mon Apr 24, 2006 1:47 pm
Location: West Yorkshire, UK

Post by phppage »

Ah, so someone using one could just change the name and it would go undetected? With this in mind do you think the above would still be good to put in place? Do you thin kit could cause resources to be used up unnecessary?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Ah, so someone using one could just change the name and it would go undetected?
Exactly.
With this in mind do you think the above would still be good to put in place?
With no added security, why bother to use that?
Post Reply