This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Loop through all user directories in /home | |
for user_directory in /home/*; do | |
if [[ -d "$user_directory" ]]; then | |
# Loop through all domain directories in the user directory | |
for domain_directory in "$user_directory"/domains/*; do | |
if [[ -d "$domain_directory" ]]; then | |
# Check if the public_html directory exists | |
public_html="$domain_directory/public_html" | |
if [[ -d "$public_html" ]]; then | |
# Check if the public_html directory contains a Magento 2 installation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Kolab core library | |
* | |
* This file contains Elastic skin styles for various Kolab plugins. | |
* | |
* @author Aleksander Machniak <machniak@kolabsys.com> | |
* | |
* Copyright (C) 2012-2018, Kolab Systems AG <contact@kolabsys.com> | |
* | |
* This program is free software: you can redistribute it and/or modify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# SECTION:Initial Settings | |
############################################################################### | |
# Testing flag - enables a CRON job that clears iptables incase of | |
# configuration problems when you start csf. This should be enabled until you | |
# are sure that the firewall works - i.e. incase you get locked out of your | |
# server! Then do remember to set it to 0 and restart csf when you're sure | |
# everything is OK. Stopping csf will remove the line from /etc/crontab | |
# | |
# lfd will not start while this is enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
White Dutch ISPs | |
## KPN IP Ranges | |
csf -a 77.160.0.0/22 && csf -a 86.80.0.0/12 && csf -a 84.80.0.0/13 && csf -a 92.64.0.0/13 && csf -a 188.200.0.0/13 && csf -a 81.204.0.0/14 && csf -a 82.168.0.0/14 && csf -a 80.60.0.0/15 && csf -a 195.240.0.0/15 && csf -a 46.144.0.0/15 && csf -a 31.160.0.0/15 && csf -a 193.172.0.0/15 && csf -a 134.222.0.0/16 && csf -a 194.151.0.0/16 | |
## Ziggo IP Ranges | |
csf -a 213.75.0.0/17 && csf -a 213.125.0.0/18 && csf -a 94.209.0.0/16 && csf -a 94.212.0.0/16 && csf -a 94.215.0.0/17 | |
## Vodafone IP Ranges | |
csf -a 92.108.0.0/14 && csf -a 92.112.0.0/13 |