httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] htaccess help
Date Sat, 01 Nov 2008 16:00:02 GMT
On Fri, Oct 31, 2008 at 8:09 PM, debussy007 <> 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.


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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message