Re: Rewrite rule preventing directory authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That would break the software :(

On Wed, Oct 22, 2008 at 8:27 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> On Wed, Oct 22, 2008 at 12:57 PM, Mário Gamito <gamito@xxxxxxxxx> 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@xxxxxxxxx
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux