.htaccess files are read on every request. … You should avoid using .htaccess files completely if you have access to httpd main server config file. Using .htaccess files slows down your Apache http server. Any directive that you can include in a .htaccess file is better set in a Directory block, as it will haveContinue reading “#Apache: avoid using .htaccess files completely”
Monthly Archives: January 2014
Completely remove files from Git repository
git filter-branch –index-filter ‘git rm -r –cached –ignore-unmatch <FOLDER/FILE>’ HEAD rm -rf .git/refs/original/ && git reflog expire –all && git gc –aggressive –prune
Find region from within EC2 instance by #PowerShell
(ConvertFrom-Json (Invoke-WebRequest -Uri http://169.254.169.254/latest/dynamic/instance-identity/document -UseBasicParsing).Content).region