views:

20

answers:

0

I'm having a strange .htaccess issue. My web structure is setup like so to have two sites:

www/site1/

www/site2/

inside the site1 directory, I have a .htaccess file with rewrite rules in it. Inside the site2 directory, I have a different .htaccess file with different rewrite rules.

My problem is that the rules in www/site1/.htaccess are being applied universally somehow, so they are also being referenced in site2 instead of the subdirectory specific rules I added.

Is there a setting or something I'm missing to tell apache to treat a .htaccess file as applying to just the subdirectory it's in and below?