X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=.htaccess;h=5941f6153db9ea2fb7281051162c029aa4c2f029;hp=615ac51842a7f09fc83514f25e917ac3a6a8f341;hb=d003277b8a242d85e8f8cd60aca626c871e4ec89;hpb=62c3d9c54dec22772956bea9f2ec482c891e511e diff --git a/.htaccess b/.htaccess index 615ac51..5941f61 100644 --- a/.htaccess +++ b/.htaccess @@ -3,8 +3,12 @@ AddHandler cgi-script .cgi DirectoryIndex index.cgi + RewriteEngine On + RewriteCond %{SERVER_PORT} 80 + RewriteRule ^.*(session.cgi.*)$ https://%{SERVER_NAME}/$1 + AuthType Basic AuthName "Busy Login" - AuthUserFile /sites/busy.plutz.net/http/auth/htpasswd + AuthUserFile /srv/busy.plutz.net/http/auth/htpasswd Require valid-user