GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is it possible (https://gfy.com/showthread.php?t=747864)

Donkey Punch 07-02-2007 09:48 AM

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!

Donkey Punch 07-02-2007 10:19 AM

YEs or no and maybe a pointer plz :]

RawAlex 07-02-2007 11:05 AM

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.

takaya 07-02-2007 11:49 AM

RewriteEngine on
RewriteCond ^banedIP (.*)
RewriteRule ^test.html$ somesites

Donkey Punch 07-02-2007 05:07 PM

Quote:

Originally Posted by takaya (Post 12691768)
RewriteEngine on
RewriteCond ^banedIP (.*)
RewriteRule ^test.html$ somesites

Thanks again, I'm going to check this out ! :)


All times are GMT -7. The time now is 03:37 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123