|
|
|
||||
|
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 |
|
Confirmed User
Join Date: Jun 2007
Location: :: PUNCH ::
Posts: 1,260
|
Is it possible
To redirect via .htaccess based upon IP and file requested?
I.E if anyone other than my IP tries to access a file they get redirected? If so could you please point me in the right direction? Thanks! |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Jun 2007
Location: :: PUNCH ::
Posts: 1,260
|
YEs or no and maybe a pointer plz :]
|
|
|
|
|
|
#3 |
|
So Fucking Banned
Join Date: Oct 2003
Location: In a house.
Posts: 9,465
|
You could potentially do one or the other... filter by page requested and then send it to a script that filters further by IP before the headers are sent.
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Mar 2003
Posts: 50
|
RewriteEngine on
RewriteCond ^banedIP (.*) RewriteRule ^test.html$ somesites |
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Jun 2007
Location: :: PUNCH ::
Posts: 1,260
|
Quote:
|
|
|
|
|