summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-ssl-conf
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-10 23:01:32 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-10 23:01:32 +0000
commit2120ffe5068a7a8078c04475816295708248b63b (patch)
tree4ca8e7e67f434f41a327a0887675ba5843fe639e /sca-cpp/trunk/modules/http/httpd-ssl-conf
parent604fc67a15eda2df9ee0ffe13480069e3e7766dc (diff)
Minor build cleanup and fixes. Add a few scripts to help run automated builds on EC2 Ubuntu 9.10 images.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@932801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-ssl-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-ssl-conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-ssl-conf b/sca-cpp/trunk/modules/http/httpd-ssl-conf
index c52d1cc9eb..6f763c6a66 100755
--- a/sca-cpp/trunk/modules/http/httpd-ssl-conf
+++ b/sca-cpp/trunk/modules/http/httpd-ssl-conf
@@ -23,6 +23,7 @@ root=`readlink -f $1`
host=$2
sslport=$3
htdocs=`readlink -f $4`
+httpd_prefix=`cat $here/httpd.prefix`
# Extract organization name from our CA certificate
org=`openssl x509 -noout -subject -nameopt multiline -in $root/conf/ca.crt | grep organizationName | awk -F "= " '{ print $2 }'`
@@ -87,7 +88,7 @@ Require valid-user
EOF
# Create test users for HTTP basic authentication
-htpasswd -bc $root/conf/httpd.passwd test test 2>/dev/null
-htpasswd -b $root/conf/httpd.passwd foo foo 2>/dev/null
-htpasswd -b $root/conf/httpd.passwd bar bar 2>/dev/null
+$httpd_prefix/bin/htpasswd -bc $root/conf/httpd.passwd test test 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