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
#!/bin/bash | |
# Script to auto-repair MySQL replication slave synch-loss | |
# by: Daniel de Segovia Gross ([email protected]) | |
# v1.0 07 Mar 2017 | |
# Copyright 2017 Hubrix SAS. https://www.hubrix.co/ | |
# License: MIT (see https://opensource.org/licenses/MIT) | |
# USE AT YOUR OWN RISK. Don't be a copy+paste victim! | |
# If you don't understand this script, you should NOT use it. | |
# It is intended to save you time, not replace your brain. | |
# |
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
<?php | |
/* | |
* .htaccess compiler | |
* | |
* Recurse through all subdirectories, scan .htaccess files, and generate | |
* directives suitable for inclusion in an Apache configuration file. | |
* This lets you consolidate all .htaccess directives in the main | |
* (scanned once) Apache configuration. This has considerable | |
* performance and security benefits. | |
* |