Skip to content

Instantly share code, notes, and snippets.

@yoanbonev
yoanbonev / .htaccess
Created May 20, 2021 12:45 — 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]