apache

Apache automatically adds .html

I had an issue with Apache that was driving me nuts. I've got a Drupal site with a page that uses the path /new. Simple enough. However, I also have a static HTML page in the root of the site at the path /new.html. Every time I'd click a link to /new it would render the static HTML page, though not via a redirect. The browser address bar would still show /new, but it would show me the new.html file.

Tags: