News for hackers. Stuff that matters.
Re:Apache httpd 2.4.26 released by combatentropy on Monday June 19, 2017 @02:50PM (#14589371)
One of my favorite features of Apache is MultiViews. It lets me make a file like this:

    www.example.com/widgets.html
and this address without the file extension will work:

    www.example.com/widgets
If the file is widgets.php or some other language that Apache considers a script, then even this will work:

    www.example.com/widgets/1234
and $_SERVER['PATH_INFO'] will be set to /1234.

This is all turned on with one line in a configuration file:

    Options +MultiViews
instead of having to turn on mod_rewrite, with its complexity.

There are no comments on this comment yet.