digitalmars.D - html files without the .html extension
- Andrei Alexandrescu (9/9) Jan 16 2015 To my surprise I saw that all pages linked from
- Vladimir Panteleev (5/13) Jan 16 2015 It's probably Apache MultiViews. To disable it, you can add to
- Vladimir Panteleev (5/6) Jan 16 2015 Not that this would be a good idea at this point, as it'd break
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? Thanks, Andrei
Jan 16 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
Jan 16 2015
On Friday, 16 January 2015 at 20:44:11 UTC, Vladimir Panteleev wrote:To disable it, you can add to .htaccess:Not that this would be a good idea at this point, as it'd break existing links. But we can also add a redirect from extensionless to .html (or vice versa).
Jan 16 2015