PDA

View Full Version : Subdomains in htaccess


Backov
07-05-2001, 06:46 PM
Doing a little screwing around in htaccess, and it's just come to me that I'm not entirely sure how to make sure a subdomain isn't denied access in htaccess...

Would it be:

RewriteCond %{HTTP_REFERER} !^http://*.foot-fetish-porn-pictures.com/.*$ [NC]

Or

RewriteCond %{HTTP_REFERER} !^http://.*.foot-fetish-porn-pictures.com/.*$ [NC]

Or what? This would be to allow any subdomain access..

Cheers,
Backov

andy2000
07-05-2001, 09:28 PM
if you have a subdomain in sub directory
just put any htaccess file in the subdomain
directory and the other htaccess file from
the main domian will no be read