scripts/setup-web2py-fedora.sh, thanks ykessler
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.7 (2012-05-02 15:48:50) dev
|
Version 1.99.7 (2012-05-02 15:57:52) dev
|
||||||
|
|||||||
@@ -179,7 +179,6 @@ if [ ! ${RETV} -eq 0 ]; then
|
|||||||
|
|
||||||
# Create the SELinux policy
|
# Create the SELinux policy
|
||||||
cat > httpd.te <<EOF
|
cat > httpd.te <<EOF
|
||||||
EOF
|
|
||||||
|
|
||||||
module httpd 1.0;
|
module httpd 1.0;
|
||||||
|
|
||||||
@@ -225,7 +224,6 @@ cd /tmp/setup-web2py
|
|||||||
# Create rules file - based upon
|
# Create rules file - based upon
|
||||||
# http://articles.slicehost.com/assets/2007/9/4/iptables.txt
|
# http://articles.slicehost.com/assets/2007/9/4/iptables.txt
|
||||||
cat > iptables.rules <<EOF
|
cat > iptables.rules <<EOF
|
||||||
EOF
|
|
||||||
*filter
|
*filter
|
||||||
|
|
||||||
# Allows all loopback (lo0) traffic
|
# Allows all loopback (lo0) traffic
|
||||||
@@ -297,7 +295,6 @@ if [ -e /etc/httpd/conf.d/welcome.conf ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cat > /etc/httpd/conf.d/default.conf <<EOF
|
cat > /etc/httpd/conf.d/default.conf <<EOF
|
||||||
EOF
|
|
||||||
|
|
||||||
NameVirtualHost *:80
|
NameVirtualHost *:80
|
||||||
NameVirtualHost *:443
|
NameVirtualHost *:443
|
||||||
@@ -403,7 +400,3 @@ cd ${current_directory}
|
|||||||
|
|
||||||
echo " - Complete!"
|
echo " - Complete!"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
EOF
|
|
||||||
EOF
|
|
||||||
EOF
|
|
||||||
|
|||||||
Reference in New Issue
Block a user