I'm using Cheyenne v0.9 and would like to serve static HTML files as text/html
, but I don't want the URLs to contain the .html
extension. Is there a way to do this without using CGI or some other dynamic processor?
For example:
/path/to/example.org/web-root/about.html
To be reached using:
http://example.org/about
The Apache equivalent 'ReWrite' would be something like:
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*\.html$ %{REQUEST_FILENAME}.html [L]