Htaccess File

datacodesolutions/symfony/master/web/.htaccess

REQUEST_FILENAME
RewriteEngine On

# Keep people out of .git
RedirectMatch 403 ^/(.git|.hg).*$

# Removes index.php
RewriteCond $1 !.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php/$1 [L]
Exit mobile version