diff options
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/http/form-auth-conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/form-auth-conf b/sca-cpp/trunk/modules/http/form-auth-conf index a9077116da..42b1a656f3 100755 --- a/sca-cpp/trunk/modules/http/form-auth-conf +++ b/sca-cpp/trunk/modules/http/form-auth-conf @@ -25,6 +25,8 @@ root=`readlink -f $1` conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` +pw=`cat $root/cert/ca.key | head -2 | tail -1` + # Generate form authentication configuration cat >>$root/conf/auth.conf <<EOF # Generated by: form-auth-conf $* @@ -38,7 +40,7 @@ AuthFormLoginRequiredLocation /login AuthFormLogoutLocation / Session On SessionCookieName TuscanyFormAuth path=/;secure=TRUE -#SessionCryptoPassphrase secret +SessionCryptoPassphrase $pw Require valid-user </Location> |