Htaccess File

RemyG/MyPhotos/master/.htaccess

HTTP_HOST, HTTPS, REQUEST_FILENAME
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule ^user/login/?$ https://%{HTTP_HOST}/user/login [L,R=301]

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

# Prevent file browsing
Options -Indexes
Exit mobile version