|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
htacess redirection
I would like to redirect all french speaking traffic coming to my domain to some site...WITH EXCEPTION for few referers(that traffic wouldn't be redirected)....how to do this ?
thx.... |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Aug 2006
Posts: 5,594
|
Use Maxmind
|
|
|
|
|
|
#3 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
bump......
|
|
|
|
|
|
#4 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,382
|
Quote:
Code:
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (fr) [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowsite\.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowsite\.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowsite\.com/.*$ [NC]
RewriteRule .* http://www.domain.com/redirect-url [R,L]
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
|
|
|
|
|
#5 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
hmm thx, it looks like that it works, but the small problem is that even with valid referer, it only loads html of site, no images....just like with hotlinking protection, but i have no hotlinking protection in there....
|
|
|
|
|
|
#6 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
bump........
|
|
|
|
|
|
#8 | |
|
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,148
|
Quote:
That is the htaccess that would be controlling the pages not the htaccess that did the redirect.
__________________
All cookies cleared! |
|
|
|
|