So I have this .htaccess file above my index and my other pages:
I read that .htaccess files apply to their current directory and all sub-directories. I have a sub-directory that I do not want to be affected by this .htaccess file. I have also researched and learned that I need ANOTHER .htaccess file in the sub-directory that I do not want to be affected by the .htaccess file higher up in the directory structure.Code:#FROM DRUPAL 5 2007.05.08 # Various rewrite rules. <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ i.php?i=$1 [L,QSA] </IfModule>
My question is... how do I remove this rewrite rule? Simply creating another .htaccess file doesn't do it, it still inherits the rewrite rule from the posted .htaccess code. Thanks for looking!


Reply With Quote
Bookmarks