View Single Post
Old 06-19-2004, 08:38 PM  
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
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.
__________________
No sig = good sig

Last edited by grannytgp; 06-19-2004 at 08:40 PM..
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote