In the spirit of Tim Berners-Lee's article Cool URIs don't change, I'm interested in using content negotiation in my .htaccess file, so that I can leave off extensions from my URLs. For example, so I can use "mysite.com/about" instead of "mysite.com/about.htm"
This was suggested for my .htacess file:
But it gives a Error 500 Internal Server Error.
Website Optimization suggests two options: "Type maps contain paths to the variants of each MIME type to express a server-side preference for resources. The MultiViews option expresses no server-side preference and effectively fakes a type map file from searching the directory for files with MIME type extensions."
Any other suggestions? Am I going to succeed in doing this?
This was suggested for my .htacess file:
Code:
<Directory /home/user/public_html> Options + MultiViews </Directory>
Website Optimization suggests two options: "Type maps contain paths to the variants of each MIME type to express a server-side preference for resources. The MultiViews option expresses no server-side preference and effectively fakes a type map file from searching the directory for files with MIME type extensions."
Any other suggestions? Am I going to succeed in doing this?
Comment