Htaccess File

varloc2000/nadin/master/.htaccess

DOCUMENT_ROOT, HTTP_HOST
<IfModule mod_rewrite.c>
    # Turn mod_rewrite on
    RewriteEngine On
    RewriteBase /

    RewriteCond %{HTTP_HOST}  ^sayart.me [nocase]
    RewriteRule ^(.*)         http://www.sayart.me/$1 [last,redirect=301]

    RewriteCond %{DOCUMENT_ROOT}/web/$1 -f [OR]
    RewriteCond %{DOCUMENT_ROOT}/web/$1 -d [OR]
    RewriteCond %{DOCUMENT_ROOT}/web/$1 -l
    RewriteRule ^(.*)$ web/$1
</IfModule>
Exit mobile version