Skip to content

Instantly share code, notes, and snippets.

@TemeK1
TemeK1 / .htaccess
Created June 12, 2019 20:07 — forked from glamorous/.htaccess
Default .htaccess file
Options All -Indexes
DirectoryIndex index.php index.htm index.html
RewriteEngine on
RewriteBase /
# Force HTTPS on the subdomains/subdirectories login or admin
#RewriteCond %{HTTPS} off
#RewriteCond %{HTTP_HOST} ^(login|admin)\. [NC]