summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/open-auth-conf
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/http/open-auth-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/open-auth-conf11
1 files changed, 0 insertions, 11 deletions
diff --git a/sca-cpp/trunk/modules/http/open-auth-conf b/sca-cpp/trunk/modules/http/open-auth-conf
index f2304a0b86..2bd5bc3504 100755
--- a/sca-cpp/trunk/modules/http/open-auth-conf
+++ b/sca-cpp/trunk/modules/http/open-auth-conf
@@ -25,8 +25,6 @@ root=`readlink -f $1`
conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"`
host=`echo $conf | awk '{ print $6 }'`
-httpd_prefix=`cat $here/httpd.prefix`
-
# Generate form authentication configuration
cat >>$root/conf/auth.conf <<EOF
# Generated by: open-auth-conf $*
@@ -36,7 +34,6 @@ AuthType Open
AuthName "$host"
AuthOpenAuth On
AuthOpenAuthLoginPage /login
-AuthUserFile "$root/conf/httpd.passwd"
Require valid-user
</Location>
@@ -45,7 +42,6 @@ Require valid-user
AuthType Form
AuthName "$host"
AuthFormProvider file
-AuthUserFile "$root/conf/httpd.passwd"
AuthFormLoginRequiredLocation /login
AuthFormLogoutLocation /
Session On
@@ -57,10 +53,3 @@ SetHandler form-login-handler
EOF
-# Create test users
-touch $root/conf/httpd.passwd
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd test test 2>/dev/null
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd admin admin 2>/dev/null
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd foo foo 2>/dev/null
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd bar bar 2>/dev/null
-