Topic awaiting preservation: blocking certain browsers via .htaccess (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 04-15-2002 22:31
I wanna block opera (since this asshole is using opera's timed refresh option) |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 04-15-2002 22:44
I'm not sure if it is possible to do that using .htaccess but you could just use PHP, for example, to detect the browser and redirect them to another page - I would say doing this is unwise but it is your call. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-15-2002 22:47
You can do that by using mod_rewrite Apache module... |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 04-15-2002 23:06
I have had like one opera user before this clown.. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 04-16-2002 02:54
Browser detection: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-16-2002 07:15
As I've said mod_rewrite can be used to do this. Simply put the following code in your .htaccess file and everyone who uses Opera will get a "403 Forbidden" error message, when they try to access anything (html pages, images, etc.): |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
posted 04-19-2002 04:45
I dont think my server has mod rewrite --; |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-19-2002 07:51 |
Bipolar (III) Inmate From: London, UK |
posted 04-19-2002 15:42
There's another apache directive you can play with called SetEnvIf |