bwhinnen/bwhinnen.github.io/master/_site/.htaccess - Htaccess File

bwhinnen/bwhinnen.github.io/master/_site/.htaccess

Options -MultiViews

ErrorDocument 404 /404.html
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC,L]

# Disable auto-adding slashes to directories without them, since this happens
# after mod_rewrite and exposes the rewritten internal URL, e.g. turning
# http://henrik.nyh.se/about into http://henrik.nyh.se/jekyll/about.
#
# See http://gist.github.com/97822 for the full setup.

DirectorySlash off

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache