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

fusionx 05-27-2004 10:14 AM

htaccess problem
 
Using the format below works fine unless someone goes to simply skeetsex.com (no www, etc). When they do that the pics don't show.

I thought that including the prefixes in parens would make it optional - any ideas?


PHP Code:


AuthUserFile 
/dev/null 
AuthGroupFile 
/dev/null
RewriteEngine On
RewriteCond 
%{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.|skeet.)(skeetsex.com|free-skeet-sex.com|free-skeet-pics.com)(/)?.*$     [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ - [F,NC

Sorry for the small text - I guess size doesn't work inside php blocks..

fusionx 05-27-2004 10:30 AM

I saved it as a text file for those that want to be able to read it :)

http://www.skeetsex.com/htaccess.txt

fusionx 05-27-2004 04:48 PM

no help with the htaccess today?

:bump:

Global Dialers 05-27-2004 05:12 PM

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)(skeet.)(skeetsex.com)(free-skeet-sex.com)(free-skeet-pics.com)(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ - [F,NC]

PHP Code:

AuthUserFile /dev/null 
AuthGroupFile 
/dev/null
RewriteEngine On
RewriteCond 
%{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^[url]http://[/url](www\.)(skeet.)(skeetsex.com)(free-skeet-sex.com)(free-skeet-pics.com)(/)?.*$     [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ - [F,NC

give that a try :)


All times are GMT -7. The time now is 04:10 PM.

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