On Fri, Oct 31, 2008 at 8:09 PM, debussy007 <debussy007@xxxxxxxxx> 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@xxxxxxxxx krist@xxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx