Htaccess File

tofka/instacount/master/.htaccess

REQUEST_FILENAME
DirectoryIndex app.php

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ web/$1 [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
    <IfModule mod_alias.c>
   
        RedirectMatch 302 ^/$ /app.php/
    
    </IfModule>
</IfModule>
Exit mobile version