![]() |
![]() |
![]() |
||||
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
Join Date: Aug 2003
Posts: 85
|
htaccess question
If I want to redirect all Arabic Language Browsers would the following work:
RehahahahahaCond %{HTTP:Accept-Language} ar* [NC] RehahahahahaRule .* http://www.yahoo.com My question is about the "ar*" , is that correct? I would like to avoid having multiple lines for: ar-dz, ar-bh, etc... So I am guessing putting a * is a wildcard? Thx! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
yes ar is correct, but you do not need the wild card.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Oct 2003
Location: North Carolina
Posts: 4,257
|
There are some really good tools/tips for htaccess here:
http://www.clockwatchers.com/htaccess_tool.html ![]() Ivy |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Join Date: Aug 2003
Posts: 85
|
But without the wild card I would need multiple lines to block
all the Arabic codes right? i.e.: RehahahahahaCond %{HTTP:Accept-Language} ar-dz [NC] RehahahahahaRule .* http://www.yahoo.com RehahahahahaCond %{HTTP:Accept-Language} ar-bh [NC] RehahahahahaRule .* http://www.yahoo.com RehahahahahaCond %{HTTP:Accept-Language} ar-eg [NC] RehahahahahaRule .* http://www.yahoo.com RehahahahahaCond %{HTTP:Accept-Language} ar-iq [NC] I would like to block all browsers that have ar followed by anything. So if not a *, what would I use? Thx! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
I believe if you put a start of line anchor ie: ^ in front of the language code it'll cover them all.
^ar [NC] would get ar-dz, ar-bh, etc... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,787
|
Arabic Language Browsers ?
For what ? ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
Quote:
http://www.webpimps.com/scripts/htaccess/ -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
|
oh btw...
ar* * isn't the wildcard character the period (.) is. .* = anything zero or more times .+ = anything 1 or more times. -Ben
__________________
Cyberwurx Hosting After trying 5 different hosts, I found the best. Since 1997 I've had 2 hours of downtime. Fast support, great techs, no hype, no gimmicks. <- I in no way endorse whatever just got stuck on the left of my post. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
My time is coming...
Join Date: Jan 2004
Location: Europe --- eMail: service(at)badasscompany.com --- ICQ: 60288510
Posts: 7,476
|
Quote:
__________________
If lesbian anal is wrong, I don't want to be right. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |