apache: improved fastScriptAlias
authorClinton Ebadi <clinton@unknownlamer.org>
Wed, 1 Feb 2017 02:22:16 +0000 (21:22 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Wed, 1 Feb 2017 02:30:21 +0000 (21:30 -0500)
commit66d70ba27db23d3de71198ca25f99b5f7a8fe2d0
tree6706dfcbd2c6b6c68a69c842165c75795ab4f6d8
parenta3081fd7a163cadce4019dc3a4f8c5019a68e34e
apache: improved fastScriptAlias

Implementation using Alias + <Location> proved unworkable -- Apache
has an obnoxious property wherein Aliases are first match and
Locations are last match, causing all sorts of exciting
side-effects (e.g. having to add a `<Location>SetHandler
None</Location>' afterward for any aliases that otherwise would have
matched).

A directory + file match however works and does not cause strange
alias behavior.

Also fix not stripping trailing `/' when setting up wrapper.
src/plugins/apache.sml