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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-02-2007, 09:48 AM   #1
Donkey Punch
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!
__________________
ICQ:407-837-607
Hosting a Problem? Phat Servers = Answer
Donkey Punch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2007, 10:19 AM   #2
Donkey Punch
Confirmed User
 
Join Date: Jun 2007
Location: :: PUNCH ::
Posts: 1,260
YEs or no and maybe a pointer plz :]
__________________
ICQ:407-837-607
Hosting a Problem? Phat Servers = Answer
Donkey Punch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2007, 11:05 AM   #3
RawAlex
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.
RawAlex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2007, 11:49 AM   #4
takaya
Confirmed User
 
Join Date: Mar 2003
Posts: 50
RewriteEngine on
RewriteCond ^banedIP (.*)
RewriteRule ^test.html$ somesites
takaya is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-02-2007, 05:07 PM   #5
Donkey Punch
Confirmed User
 
Join Date: Jun 2007
Location: :: PUNCH ::
Posts: 1,260
Quote:
Originally Posted by takaya View Post
RewriteEngine on
RewriteCond ^banedIP (.*)
RewriteRule ^test.html$ somesites
Thanks again, I'm going to check this out !
__________________
ICQ:407-837-607
Hosting a Problem? Phat Servers = Answer
Donkey Punch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.