diff options
-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> |