Mod_negotiate is interfering with mod_rewrite

software development

#1

I’d like to use content negotiation for images, and at the same time rewrite every request for /links/ to links.pl. The problem is that mod_negotiate always butts in and tries and fails to return a file named links. It doesn’t matter what order the .htaccess directives are in, the content negotiation always happens before the rewriting. What am I missing?