EQ-Port/site-2.0/master/backend/web/.htaccess - Htaccess File

EQ-Port/site-2.0/master/backend/web/.htaccess

<IfModule mod_rewrite.c>

RewriteEngine on
RewriteBase /

Options +FollowSymlinks

    # Слеш на конце, разделы и статьи
    RewriteRule ^(w+)$      $1/ [QSA,R=301,L]
    RewriteRule ^(w+(/[w-_]+)+)$      $1/ [R=301,QSA,L]
    RewriteRule ^site/(index/)*$ / [R=301,L]

    #################### MAIN DISPATCHER ############################
    #################################################################
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache