X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=.htaccess;h=021a64f3bdf849db0ef38574db37f0454256ca91;hp=615ac51842a7f09fc83514f25e917ac3a6a8f341;hb=a521af21fd30e34d0ae9cfbf8296c89938312620;hpb=62c3d9c54dec22772956bea9f2ec482c891e511e diff --git a/.htaccess b/.htaccess index 615ac51..021a64f 100644 --- a/.htaccess +++ b/.htaccess @@ -3,6 +3,10 @@ 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