justinkelly/az_databases/master/server/public/.htaccess - Htaccess File

justinkelly/az_databases/master/server/public/.htaccess

#Action  application/x-httpd-php /fcgi/php55

<IfModule mod_rewrite.c>

        RewriteEngine On

  <IfModule mod_headers.c>
      Header set Access-Control-Allow-Origin "*"
  </IfModule>

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache