diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..03c88fd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.htaccess diff --git a/.htaccess b/.htaccess index 8a409b7..f67bc2d 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ +AuthType Basic +AuthName "Your authorization required message." +AuthUserFile /home/dev/.htpasswd +require valid-user RewriteEngine On #RewriteCond %{HTTPS} !=on #RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]