diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-12-05 19:08:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-12-05 19:08:38 -0300 |
commit | ebcc4c568315e311995273bdfb74380834656401 (patch) | |
tree | fd278903c7550aa95d2d70f6913b6fad81be8dc9 | |
parent | 56c2cc72b9e4f65d94edab5f4c58633322dc43f8 (diff) | |
download | semanticscuttle-ebcc4c568315e311995273bdfb74380834656401.tar.gz semanticscuttle-ebcc4c568315e311995273bdfb74380834656401.tar.bz2 |
Fix: restrict access using HTTP Auth
-rw-r--r-- | www/.htaccess | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/.htaccess b/www/.htaccess index 381c0fe..e79169b 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -38,3 +38,11 @@ ExpiresByType text/css "access plus 15 days" SetOutputFilter DEFLATE #</FilesMatch> </IfModule> + +# Workaround to decrease resource consumption +<If "-f %{DOCUMENT_ROOT} . '/.htpasswd'"> +AuthType Basic +AuthName "links - semanticscuttle" +AuthUserFile /var/sites/links/site/.htpasswd +Require valid-user +</If> |