summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-conf
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 07:42:01 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 07:42:01 +0000
commit4edb611792cbf0a3335631a181c15095e81e8afa (patch)
tree111cbec79d7b2861396fe886004f3be58635e99d /sca-cpp/trunk/modules/http/httpd-conf
parentd7069b5a2e7859ab14c5a909d5e5fc6bc84b80cb (diff)
Minor changes to server config scripts to get auth and session management to behave the same with or without a proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428194 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-conf23
1 files changed, 14 insertions, 9 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-conf b/sca-cpp/trunk/modules/http/httpd-conf
index 730775fa89..3f96304ae8 100755
--- a/sca-cpp/trunk/modules/http/httpd-conf
+++ b/sca-cpp/trunk/modules/http/httpd-conf
@@ -174,15 +174,6 @@ LoadModule mpm_prefork_module ${modules_prefix}/modules/mod_mpm_prefork.so
EOF
-if [ $uname = "Darwin" ]; then
- cat >>$root/conf/mpm.conf <<EOF
-# Generated by: httpd-conf $*
-# Set thread stack size
-ThreadStackSize 2097152
-
-EOF
-fi
-
# Generate modules list
cat >$root/conf/modules.conf <<EOF
# Generated by: httpd-conf $*
@@ -269,28 +260,40 @@ cat >$root/conf/pubauth.conf <<EOF
# Allow everyone to access public locations
<Location /login>
AuthType None
+Session Off
Require all granted
# Mark login page with a header
Header set X-Login open-auth
</Location>
+<Location /login/dologin>
+Session Off
+</Location>
<Location /logout>
AuthType None
+Session Off
Require all granted
</Location>
+<Location /logout/dologout>
+Session Off
+</Location>
<Location /public>
AuthType None
+Session Off
Require all granted
</Location>
<Location /proxy/public>
AuthType None
+Session Off
Require all granted
</Location>
<Location /favicon.ico>
AuthType None
+Session Off
Require all granted
</Location>
<Location /robots.txt>
AuthType None
+Session Off
Require all granted
</Location>
@@ -322,12 +325,14 @@ cat >$root/conf/noauth.conf <<EOF
# Allow access to document root
<Directory "$htdocs">
AuthType None
+Session Off
Require all granted
</Directory>
# Allow everyone to access root location
<Location />
AuthType None
+Session Off
Require all granted
</Location>