mime type being changed by mod_rewrite

Wade Preston Shearer wadeshearer.lists at me.com
Fri Sep 17 01:01:21 MDT 2010

On 17 Sep 2010, at 0:14, Stuart Jansen wrote:

> My gut reaction is that mod_rewrite doesn't have anything to do with the
> actual problem.

It was mod_rewrite, but not how I thought. The files were getting rewritten when they weren't supposed to be.

I'm using…

   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d

…to ensure I only rewrite "pretty URLs" (ones that aren't an actual file), but it's not working for some reason. It's rewriting everything.

More information about the PLUG mailing list