|
@@ -11,6 +11,11 @@ if [ ! -e "/etc/apache2/mods-available/remoteip.load" ]; then
|
|
|
exit
|
|
exit
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+if [ -f "/etc/apache2/mods-enabled/remoteip.load" ]; then
|
|
|
|
|
+ echo "RemoteIP is already activated"
|
|
|
|
|
+ exit
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
# Disabling rpaf
|
|
# Disabling rpaf
|
|
|
/usr/sbin/a2dismod rpaf > /dev/null 2>&1
|
|
/usr/sbin/a2dismod rpaf > /dev/null 2>&1
|
|
|
rm -f /etc/apache2/mods-enabled/rpaf.conf
|
|
rm -f /etc/apache2/mods-enabled/rpaf.conf
|