Resolving Finder Problems in OS X 10.9.5 - OS X
Posted by Cătălin on Mon, 29 Aug 2016Resolving Finder Problems in OS X 10.9.5 - OS X
Open terminal and paste this line: rm ~/Library/Preferences/com.apple.finder.plist && killall -HUP Finder
Read More...code
Let's Encrypt plugin for cPanel/WHM
Posted by Cătălin on Wed, 20 Apr 2016Let's Encrypt plugin for cPanel/WHM
This is a cPanel/WHM plugin for the Let's Encrypt client. This plugin uses Perl and the WHM API, and requires a server running cPanel and WHM on it. /usr/local/cpanel/3rdparty/bin/git clone https://github...
Read More...code
Authentication with .htpasswd On Mac OS X
Posted by Cătălin on Mon, 1 Jun 2015Authentication with .htpasswd On Mac OS X
Open Terminal and type: $ htpasswd -c /www/domain.com/.htpasswd yourusername After running the command it will ask for your password. Create a .htaccess file at the directory you want to...
Read More...code
Apache mod_rewrite
Posted by Cătălin on Wed, 27 May 2015Apache mod_rewrite
How to redirect domain URL path to main domain: Force Non-www Domain Access RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.(([a-z0-9_]+\.)?example\.com)$ [NC] RewriteRule .? http://%1%{REQUEST_URI}...
Read More...code
Remove IP from firewall
Posted by Cătălin on Mon, 4 May 2015Remove IP from firewall
Check if IP is blocked by firewall: iptables -L -v -n | grep 1.2.3.4 Response: 7769 409K DROP all -- * * 1.2.3.4 0.0.0.0/0 Find chain with: iptables -L -n |...
Read More...code