httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] Rewrite rule preventing directory authentication
Date Wed, 22 Oct 2008 19:27:29 GMT
On Wed, Oct 22, 2008 at 12:57 PM, Mário Gamito <gamito@gmail.com> wrote:
> Hi,
>
> I have this site that has in its root directory a .htaccess file with
> the following rewritings:
>
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /index.php [L]
> SecFilterEngine off
> </IfModule>

>
> Problem is that the first .htaccess clashes with the second, making
> the protected directory give a 404:


Have you tried In the subdir, RewriteEngine off


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message