1 DirectoryIndex index.plp
6 # redirect old location
7 RewriteRule ^vim$ /vi [R=301]
9 # serve vim commands when requesting /digraphs.ex as well
10 RewriteRule ^(digraphs)\.ex(/.*)?$ $1.vim$2
12 # add .plp if a file exists with .plp appended (topdir only)
13 RewriteCond %{REQUEST_FILENAME}.plp -f
14 RewriteRule ^/*([^/]+)(.*) $1.plp$2
16 # compress html output if accepted by client
17 AddOutputFilterByType DEFLATE text/html