From 08a9d300b030791b7945bc054edbac2bc8fac617 Mon Sep 17 00:00:00 2001 From: Abhijeet_Bagade Date: Mon, 3 May 2021 05:34:53 +0000 Subject: [PATCH] upd --- .gitignore | 1 + .htaccess | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .gitignore 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]