CTAPbIuMABP/goat/master/good-old-shit/.htaccess - Htaccess File

CTAPbIuMABP/goat/master/good-old-shit/.htaccess

# DirectoryIndex index.php index.html index.htm

Options +FollowSymLinks -Indexes -MultiViews

AddDefaultCharset UTF-8

AddType application/x-javascript .js

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /

  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteRule ^(.*[^/])$ /$1/ [R=301,L]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.html [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, SCRIPT_FILENAME

Comments

Apache