diff options
Diffstat (limited to 'sca-cpp/trunk/modules/http/open-auth-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/open-auth-conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/open-auth-conf b/sca-cpp/trunk/modules/http/open-auth-conf index cde0c6b05f..bed20d75a9 100755 --- a/sca-cpp/trunk/modules/http/open-auth-conf +++ b/sca-cpp/trunk/modules/http/open-auth-conf @@ -35,7 +35,7 @@ cat >>$root/conf/auth.conf <<EOF AuthType Open AuthName "$host" Session On -SessionCookieName TuscanyOpenAuth domain=.$host;path=/;secure=TRUE +SessionCookieName TuscanyOpenAuth domain=.$host; path=/; max-age=31556926 SessionCryptoPassphrase $pw AuthOpenAuth On AuthOpenAuthLoginPage /login @@ -53,5 +53,10 @@ Require valid-user SetHandler form-login-handler </Location> +# Mark login page with a header +<Location /login> +Header set X-Login open-auth +</Location> + EOF |