From 3ac22b097d9a9e829ec45963a7c3a40dd12b40a1 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sat, 13 Nov 2010 07:53:10 +0000 Subject: Port to HTTPD 2.3.8. Add an auth module to make OpenID, OAuth 1/2 and HTTPD 2.3 Form auth modules play nice together. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034693 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/openid/openid-conf | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) (limited to 'sca-cpp/trunk/modules/openid/openid-conf') diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf index 839b58b554..1d208784de 100755 --- a/sca-cpp/trunk/modules/openid/openid-conf +++ b/sca-cpp/trunk/modules/openid/openid-conf @@ -26,8 +26,8 @@ conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` openid_prefix=`cat $here/openid.prefix` -# Configure HTTPD mod_auth_openid module -cat >>$root/conf/httpd.conf <>$root/conf/auth.conf < AuthType Open +AuthName "$host" +Require valid-user AuthOpenIDEnabled On AuthOpenIDCookiePath / AuthOpenIDCookieName TuscanyOpenAuth @@ -47,30 +49,5 @@ AuthOpenIDAXAdd FIRSTNAME http://axschema.org/namePerson/first AuthOpenIDAXAdd LASTNAME http://axschema.org/namePerson/last -# Enable unauthenticated access to public areas - -AuthOpenIDEnabled Off - - -AuthOpenIDEnabled Off - - -AuthOpenIDEnabled Off - - -AuthOpenIDEnabled Off - - -EOF - -cat >>$root/conf/vhost-ssl.conf < -AuthType Open -AuthName "$host" -Require valid-user - - EOF -- cgit v1.2.3