I have a problem and wondering if some one could help me (especial richard ).
I have a forum at http://mysite.com/forum and all visit much visit it throught http://mysite.com (all non referrer or not mysite.com referrer will move to mysite.com then after click to link on mysite.com to go to mysite.com/forum)
I have this code to do it.
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com(/.*)?$ [NC]
RewriteRule \.(txt|zip|pdf|exe|rar|pps|avi|wmv|mpg|html|php|asp|jsp|htm|gif|png|jpg)$ /index.php [NC,L]
So, now i want, when user use firefox, it work (i mean do it as it will be), but when user use other browser like IE, opera.... (all other) it will move to a notice site (like mysite.com/notsupport.php) then if use still want to use their browse, they can click to a link to go http://mysite.com/forum
If they direct access to mysite.com/forum then it will move to mysite.com/index.php but when go to index.php, it will check user browser then if firefox it display, if it's not firefox, it will move to mysite.com/notsupport.php then click to a link to go to mysite.com/forum, and so on
I'm sorry if my ideas is not clearly and my bad english.
Thank you so much for your help.