hfcorriez/pagon/master/public/.htaccess - Htaccess File

hfcorriez/pagon/master/public/.htaccess

# Disable directory browsing
Options All -Indexes

# Set the default file for indexes
DirectoryIndex index.php index.html

<IfModule mod_rewrite.c>
  # mod_rewrite rules
  RewriteEngine on

  # The RewriteBase of the system (change if you are using this sytem in a sub-folder).
  # RewriteBase /

  # If the file/dir does not exist, route everything to index.php
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !^/(robots.txt|favicon.ico)
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache