tmpjr/fresh-coffee/master/web/.htaccess - Htaccess File

tmpjr/fresh-coffee/master/web/.htaccess

<IfModule mod_rewrite.c>
  # Turn on URL rewriting
  RewriteEngine On

  # Protect hidden files from being viewed
  <Files .*>
    Order Deny,Allow
    Deny From All
  </Files>

  # Pass through files and directories untouched
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule .* - [L]

  # All other situations redirect to front controller wrapper
  RewriteRule .* index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache