Negotiation and mime types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm using content negotiation so that I do not have to specify file extensions in the href of my <a>. And I can switch from plain html to php without changing all my links. It works fine excepted that if I have foo.css and foo.php in the same directory, when asked for resource foo apache returns foo.css and I can find a way to tell it that php files should be preferred over css ones. I tried to add a foo.var file with the following content, but it did not work :

===
URI: foo

URI: foo.php
Content-type: text/html
===

Is there a means to set mime types priorities (like a MimeTypePriority directive similar to LanguagePriority)?

Regards,
Laurent

--
http://www.laurentmartelli.com


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux