tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r1043294 - in /tuscany/sca-cpp/trunk/modules: http/httpd-conf openid/openid-conf openid/openid-step2-conf
Date Wed, 08 Dec 2010 03:52:16 GMT
Author: jsdelfino
Date: Wed Dec  8 03:52:15 2010
New Revision: 1043294

URL: http://svn.apache.org/viewvc?rev=1043294&view=rev
Log:
Move HTTPD Require configuration for openid resources to the openid configuration scripts.

Modified:
    tuscany/sca-cpp/trunk/modules/http/httpd-conf
    tuscany/sca-cpp/trunk/modules/openid/openid-conf
    tuscany/sca-cpp/trunk/modules/openid/openid-step2-conf

Modified: tuscany/sca-cpp/trunk/modules/http/httpd-conf
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/http/httpd-conf?rev=1043294&r1=1043293&r2=1043294&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/http/httpd-conf (original)
+++ tuscany/sca-cpp/trunk/modules/http/httpd-conf Wed Dec  8 03:52:15 2010
@@ -22,6 +22,8 @@ here=`readlink -f $0`; here=`dirname $he
 mkdir -p $1
 root=`readlink -f $1`
 
+jsprefix=`readlink -f $here/../js`
+
 host=$2
 port=`$here/httpd-addr port $3`
 pport=`$here/httpd-addr pport $3`
@@ -103,22 +105,6 @@ Require all granted
 AuthType None
 Require all granted
 </Location>
-<Location /openid>
-AuthType None
-Require all granted
-</Location>
-<Location /ui>
-AuthType None
-Require all granted
-</Location>
-<Location /wiring>
-AuthType None
-Require all granted
-</Location>
-<Location /.well-known/host-meta>
-AuthType None
-Require all granted
-</Location>
 <Location /favicon.ico>
 AuthType None
 Require all granted

Modified: tuscany/sca-cpp/trunk/modules/openid/openid-conf
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/openid/openid-conf?rev=1043294&r1=1043293&r2=1043294&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/openid/openid-conf (original)
+++ tuscany/sca-cpp/trunk/modules/openid/openid-conf Wed Dec  8 03:52:15 2010
@@ -55,3 +55,13 @@ AuthOpenIDAXAdd LASTNAME http://axschema
 
 EOF
 
+cat >>$root/conf/httpd.conf <<EOF
+# Generated by: openid-conf $*
+# Allow access to /openid location
+<Location /openid>
+AuthType None
+Require all granted
+</Location>
+
+EOF
+

Modified: tuscany/sca-cpp/trunk/modules/openid/openid-step2-conf
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/openid/openid-step2-conf?rev=1043294&r1=1043293&r2=1043294&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/openid/openid-step2-conf (original)
+++ tuscany/sca-cpp/trunk/modules/openid/openid-step2-conf Wed Dec  8 03:52:15 2010
@@ -42,6 +42,16 @@ ForceType text/plain
 
 EOF
 
+cat >>$root/conf/httpd.conf <<EOF
+# Generated by: openid-conf $*
+# Allow access to /.well-known/host-meta location
+<Location /.well-known/host-meta>
+AuthType None
+Require all granted
+</Location>
+
+EOF
+
 # Generate OpenID XRDS document
 cat >$root/conf/openid.xrds <<EOF
 <?xml version="1.0" encoding="UTF-8"?>



Mime
View raw message