diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-05-03 23:30:15 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-05-03 23:30:15 -0500 |
commit | a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b (patch) | |
tree | 20fdf3bf5c9d1f0bb08d4e6bdf8c96ed69bd9a7c | |
parent | 0baa5bdaefe5d0bc5954115947d3530d9a6a39f0 (diff) | |
download | pki-dev-a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b.tar.gz pki-dev-a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b.tar.xz pki-dev-a8acd0eb45c72fbe875bcaff89e4a63adb3ea32b.zip |
Added httpd scripts.
-rwxr-xr-x | scripts/httpd-configure.sh | 12 | ||||
-rwxr-xr-x | scripts/httpd-restart.sh | 3 | ||||
-rwxr-xr-x | scripts/httpd-start.sh | 3 | ||||
-rwxr-xr-x | scripts/httpd-stop.sh | 3 |
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 |