You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Krist van Besien <kr...@gmail.com> on 2008/11/01 17:00:02 UTC

Re: [users@httpd] htaccess help

On Fri, Oct 31, 2008 at 8:09 PM, debussy007 <de...@gmail.com> wrote:
>
> Hi,
>
> this is the content of my .htaccess file:
>
> RewriteEngine on
> RewriteCond %{REQUEST_URI} !files/rapporten/instant/*
> RewriteCond %{REQUEST_URI} !files/rapporten/dag/*
> RewriteCond %{REQUEST_URI} !files/rapporten/week/*
> Rewrite
Rule \.csv$ - [L]
> RewriteRule .* index.php
> php_flag magic_quotes_gpc off
> php_flag register_globals off
>
>
> The problem is that since I added the line: RewriteRule \.csv$ - [L]
> all of the three RewriteCond are not working anymore.

They are still working, but now they are working for the
RewriteRule \.csv$ - [L] rule, and this is probably not what you want.

Just put this rule before the RewriteCond lines. RewriteCond lines
only apply to a single RewriteRule.

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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