summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bd23290)
Apache rewrite rule to redirect /script to *.plp if it exists, so that
digraphs.plp (and other files in the future) can be found at just
/digraphs. Nobody cares (or should care) about server side file type.
+
+RewriteEngine on
+RewriteBase /
+
+# add .plp if a file exists with .plp appended (topdir only)
+RewriteCond %{REQUEST_FILENAME}.plp -f
+RewriteRule ^/*([^/]+)(.*) $1.plp$2
+