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

Shoplifter 09-28-2003 10:19 PM

Help with htaccess
 
I want to allow access from only certain domains. Now I know that this will block domains:


RewriteEngine on
RewriteCond %{HTTP_REFERER} abc.com* [OR]
RewriteCond %{HTTP_REFERER} def.com
RewriteRule /* http://www.yousite.com


But how can I hange this to allow only from these two domains and block all others?

Thanks!

JDog 09-28-2003 10:27 PM

Referer is actually the worst way to go, because different broswers carry the referers differently, if they carry it over at all! I've learned once, and will never use a referring url again to authinicate.

jDoG


All times are GMT -7. The time now is 06:26 AM.

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