Htaccess File

morontt/five-dice-server/master/web/.htaccess

CONTEXT_PREFIX, ENV, REDIRECT_STATUS, REQUEST_FILENAME
RewriteEngine On

RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^index.php(/(.*)|$) %{CONTEXT_PREFIX}/$2 [R=301,L]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Exit mobile version