Move HTTPD Require configuration for openid resources to the openid configuration scripts.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043294 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2010-12-08 03:52:15 +00:00
parent 08c6180772
commit 47017915e4
3 changed files with 22 additions and 16 deletions
sca-cpp/trunk/modules

View file

@ -22,6 +22,8 @@ here=`readlink -f $0`; here=`dirname $here`
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

View file

@ -55,3 +55,13 @@ AuthOpenIDAXAdd LASTNAME http://axschema.org/namePerson/last
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

View file

@ -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"?>