httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
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 <debussy007@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


Mime
View raw message