|
|
|
||||
|
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 |
|
Registered User
Join Date: Feb 2001
Posts: 4
|
Hi, I was trying to adjust my .htaccess file to redirect
all trafic coming from *.jp domains. Unfortunately I had no success. Please, can anybody advice me if it is possible to use RewriteCond %{HTTP_REFERER} to protect my site from surfers comin from ALL *.jp domains ? Thanks in advance |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
.jp is probably all viruses, firewall their asses out!
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2001
Posts: 4
|
Thanks ... but this does not solve my problem ... I need to
do it through htaccess ... any other ideas ? |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Jun 2001
Location: ONLINE
Posts: 330
|
Here is a .htaccess sample Redirect based on a specific Machine Name. I have not tried to mask the host, like *.*.jp or *.jp , but maybe this might get you going in the right direction.
This sample will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net . Add the following to the .htaccess file: RewriteEngine On Options +FollowSymlinks RewriteBase / # Rewrite Rule for machine.domainname.net RewriteCond %{HTTP_HOST} machine.domainname.net$ RewriteCond %{REQUEST_URI} !machine/ RewriteRule ^(.*)$ machine/$1
__________________
Codifico, quindi sono icq 118-997-859 |
|
|
|