summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-05-03 23:30:15 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-05-03 23:30:15 -0500
commita8acd0eb45c72fbe875bcaff89e4a63adb3ea32b (patch)
tree20fdf3bf5c9d1f0bb08d4e6bdf8c96ed69bd9a7c /scripts
parent0baa5bdaefe5d0bc5954115947d3530d9a6a39f0 (diff)
downloadpki-dev-a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b.tar.gz
pki-dev-a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b.tar.xz
pki-dev-a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b.zip
Added httpd scripts.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/httpd-configure.sh12
-rwxr-xr-xscripts/httpd-restart.sh3
-rwxr-xr-xscripts/httpd-start.sh3
-rwxr-xr-xscripts/httpd-stop.sh3
4 files changed, 21 insertions, 0 deletions
diff --git a/scripts/httpd-configure.sh b/scripts/httpd-configure.sh
new file mode 100755
index 0000000..b7e4744
--- /dev/null
+++ b/scripts/httpd-configure.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -x
+
+cat > /etc/httpd/conf.d/tet.conf << EOF
+Alias /tet/ "/root/CS/tet/"
+
+<Directory "/root/CS/tet">
+ Options Indexes MultiViews FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
+EOF
diff --git a/scripts/httpd-restart.sh b/scripts/httpd-restart.sh
new file mode 100755
index 0000000..f9aa02e
--- /dev/null
+++ b/scripts/httpd-restart.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -x
+
+service httpd restart
diff --git a/scripts/httpd-start.sh b/scripts/httpd-start.sh
new file mode 100755
index 0000000..03ee293
--- /dev/null
+++ b/scripts/httpd-start.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -x
+
+service httpd start
diff --git a/scripts/httpd-stop.sh b/scripts/httpd-stop.sh
new file mode 100755
index 0000000..9d47507
--- /dev/null
+++ b/scripts/httpd-stop.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -x
+
+service httpd stop