Arsen007/arsen-portfolio/master/web/.htaccess - Htaccess File

Arsen007/arsen-portfolio/master/web/.htaccess

# Settings to hide index.php and ensure pretty urls
RewriteEngine on

#disallow files list
Options -Indexes

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

RewriteCond %{HTTP_HOST} ^185.2.168.96$
RewriteRule ^(.*)$ http://arsen-sargsyan.info/ [L,R=301]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache