Is there a simple way to set up htaccess commands that only apply to a specific subdomain? I would love to have a completely different .htaccess file for the subdomain.
I'm setting up a beta release for my site, which is at beta.mydomain.com. I need to modify a lot of the htaccess code that's currently being used on my live site, but I don't want these changes to affect the live site while I'm still in beta.
I know that I can modify the htaccess code to include a lot of RewriteCond (checking for "beta"), but I'm just hoping there's an easier way so that if I break something, it will only kill the beta subdomain and not the entire site.
TIA,
Jason
Sorry to the mods if this question belongs in another section. I wasn't sure where to put it.



LinkBack URL
About LinkBacks
Reply With Quote





