Problem with mod_rewrite


Well-Known Member
I have a problem with my site and have no ideas about how to solve it. In my root directory I have .htaccess file like this:

Options -Indexes
Options +FollowSymLinks
Options -MultiViews
AllowOverride None
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]
RewriteCond $1 !^(index\.php|css|img|files|swf|js|forum)
RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]

So, we rewrite all requests except requests to several dirs to index.php. So, when I request or, everything is ok - there is no rewrite to index.php. But when I protect admincp with htaccess, root .htaccess starts to rewrite forum/admincp to index.php. Any ideas?