diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-03 06:24:23 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-03 06:24:23 +0000 |
commit | 62d5e37461b84c52c6b40ea681bad90d375722b8 (patch) | |
tree | 3738af604b3012e22adfe7360f456156ced72ca7 /sca-cpp/trunk/modules/openid/openid-memcached-conf | |
parent | 21f05fa8f3880e033e664a005006d58616772869 (diff) |
Configure mod-auth-openid to use memcached instead of sqlite. Remove dependencies on sqlite.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992219 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/openid/openid-memcached-conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/openid/openid-memcached-conf b/sca-cpp/trunk/modules/openid/openid-memcached-conf new file mode 100755 index 0000000000..1dfbd3b502 --- /dev/null +++ b/sca-cpp/trunk/modules/openid/openid-memcached-conf @@ -0,0 +1,32 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +here=`readlink -f $0`; here=`dirname $here` +mkdir -p $1 +root=`readlink -f $1` +host=$2 +port=$3 + +# Configure HTTPD mod_auth_openid module cache +cat >>$root/conf/httpd.conf <<EOF +# Generated by: openid-cache-conf $* +AuthOpenIDMemcached $host:$port + +EOF + |