summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-conf
diff options
context:
space:
mode:
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>