shii/yii-app/master/.htaccess
Options -Indexes <IfModule mod_rewrite.c> RewriteEngine on #RewriteBase / RewriteCond %{HTTPS} !=on RewriteRule ^https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} ^/gcaccounts RewriteRule ^(.*)$ web/$1 [L] </IfModule> # Deny accessing below extensions <Files ~ "(.json|.lock|.git)"> Order allow,deny Deny from all </Files> # Deny accessing dot files RewriteRule (^.|/.) - [F]