![]() Topic awaiting preservation: blocking certain browsers via .htaccess (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: some evil place, the evil little atoll |
![]() 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 |
![]() 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 |
![]() You can do that by using mod_rewrite Apache module... |
Bipolar (III) Inmate From: some evil place, the evil little atoll |
![]() I have had like one opera user before this clown.. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Browser detection: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() 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 |
![]() I dont think my server has mod rewrite --; |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Bipolar (III) Inmate From: London, UK |
![]() There's another apache directive you can play with called SetEnvIf |