teiath/vispanlab/master/web/.htaccess - Htaccess File

teiath/vispanlab/master/web/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On

    #<IfModule mod_vhost_alias.c>
    #    RewriteBase /
    #</IfModule>

    RewriteCond %{HTTP_HOST} ^spatial.lab.teiath.gr$ [NC]
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://spatial.lab.teiath.gr/$1 [R=301,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_FILENAME

Comments

Apache