diff options
Diffstat (limited to 'sca-cpp/trunk/modules/http/cert-auth-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/cert-auth-conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/cert-auth-conf b/sca-cpp/trunk/modules/http/cert-auth-conf index 788a6f6d9f..4959fab14a 100755 --- a/sca-cpp/trunk/modules/http/cert-auth-conf +++ b/sca-cpp/trunk/modules/http/cert-auth-conf @@ -25,6 +25,13 @@ root=`echo "import os; print os.path.realpath('$1')" | python` conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` +# Disallow public access to server resources +cat >$root/conf/noauth.conf <<EOF +# Generated by: cert-auth-conf $* +# Disallow public access to server resources + +EOF + # Generate authentication configuration cat >>$root/conf/auth.conf <<EOF # Generated by: cert-auth-conf $* |