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)
-   -   Anyone know how to make htaccess ALLOW a subdomain? (https://gfy.com/showthread.php?t=315118)

CyberTraffic 06-19-2004 08:04 PM

Anyone know how to make htaccess ALLOW a subdomain?
 
see title plz..

grannytgp 06-19-2004 08:38 PM

If you're talking about allowing subdomains as far as hotlinking protection goes, you can do this:

Quote:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://.*yourdomain.com [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG)$ http://www.yourdomain.com [R,L]
This would allow *anything.yourdomain.com to be able to load the filetypes in the RewriteRule.

grannytgp 06-19-2004 08:44 PM

ugggh... banned words are messing with the copy-and-paste :ak47: Here's a text file for you: http://www.spamcease.com/htaccess_example.txt

sumphatpimp 06-19-2004 08:54 PM

Topic: Anyone know how to make htaccess ALLOW a subdomain?

i can make .htaccess do alot of things thanks to searching google.

you should do the the same.

no bullshit !

:thumbsup


All times are GMT -7. The time now is 08:46 AM.

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