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)
-   -   .htaccess question (https://gfy.com/showthread.php?t=535179)

fr0gman 11-01-2005 03:47 PM

.htaccess question
 
I need to redirect some traffic to another page based on IP/domain. Let's say for example that I want to take all traffic from aol.com or 111.222.333.444 to http://mydomain.com/aol.html. Can this be done with .htaccess or is there a better/easier way?

beta-tester 11-01-2005 03:55 PM

try here: www.htaccesstools.com

Global-X 11-01-2005 03:57 PM

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.aol.com/
RewriteRule /* http://mydomain.com/aol.html/ [R,L]

stfuvt 11-01-2005 03:58 PM

http://www.htmlbasix.com
www.hotscripts.com

fr0gman 11-01-2005 04:08 PM

Will this work if both pages are on the same domain? Can I replace the "http://www.aol.com" with an IP address?


Quote:

Originally Posted by Global-X
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.aol.com/
RewriteRule /* http://mydomain.com/aol.html/ [R,L]



All times are GMT -7. The time now is 09:31 PM.

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