if [ $# -lt 1 ]; then
echo "Give an https port number, recommended value is non-assigned port 5445"
else
- if [ "$1" -lt "445" -o "$1" -gt "65535" ]; then
+ if [ "$1" -lt "444" -o "$1" -gt "65535" ]; then
echo "support only a port value from 445 to 65535"
echo "recommended value is non-assigned port 5445"
else
/etc/httpd/conf/httpd.conf
/bin/sed -i -e "s+:[0-9]\{3,5\}/\$ENV{'PATH_INFO'}+:$HTTPS/\$ENV{'PATH_INFO'}+" \
- /var/ipcop/header.pl
+ /var/ipfire/header.pl
- /bin/sed -i -e "s+acl IPCop_https port.*$+acl IPCop_https port $HTTPS+" \
- /var/ipcop/proxy/acl
- /bin/chown nobody:nobody /var/ipcop/proxy/acl
+ /bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
+ /var/ipfire/proxy/acl
+ /bin/chown nobody:nobody /var/ipfire/proxy/acl
- /bin/sed -i -e "s+acl IPCop_https port.*$+acl IPCop_https port $HTTPS+" \
- /var/ipcop/proxy/squid.conf
- /bin/chown nobody:nobody /var/ipcop/proxy/squid.conf
+ /bin/sed -i -e "s+acl IPFire_https port.*$+acl IPCop_https port $HTTPS+" \
+ /var/ipfire/proxy/squid.conf
+ /bin/chown nobody:nobody /var/ipfire/proxy/squid.conf
# restart everything impacted
/bin/killall httpd