html files without the .html extension

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 16 12:44:10 PST 2015


On Friday, 16 January 2015 at 20:42:53 UTC, Andrei Alexandrescu 
wrote:
> To my surprise I saw that all pages linked from 
> http://dlang.org/spec.html do NOT have an .html extension, see 
> e.g.
>
> http://dlang.org/intro
>
> which Just Works(tm). However, it doesn't work when I test the 
> site locally or upload it for testing on my own website.
>
> Do we have some automatic extensionless to .html name 
> conversion going on dlang.org that I've been missing?

It's probably Apache MultiViews. To disable it, you can add to 
.htaccess:

Options -MultiViews


More information about the Digitalmars-d mailing list