cPanel :: htpasswd to protection directory using htaccess
Posted by blackonsole on February 21st, 2013 02:49 AM | No Comment
:: How to protect directory in cPanel
0. Login in cPanel
1. Go to "Password Protect Directories"
2. Select folder want to protect in "Please select the folder you wish to protect by clicking on its name"
3. Check "Password protect this directory" in ...
Linux :: su: cannot set user id: Resource temporarily unavailable
Posted by blackonsole on January 11th, 2013 02:27 AM | No Comment
:: How to fix su: cannot set user id: Resource temporarily unavailable issue
+ error
$ su -
su: cannot set user id: Resource temporarily unavailable
$
+ How to fix
vi /etc/security/limit.conf
# add / change on these line:
* ...
CentOS :: Open port 80 on iptables
Posted by blackonsole on July 18th, 2012 06:56 AM | No Comment
:: How to open http port on iptables
+ edit iptables rules
vi /etc/sysconfig/iptables
+ add this line
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
+ restarting iptables
/etc/init.d/iptables restart
:: Links
+ Google
+ HowToLinux
:: Banned countries ip on CSF
Posted by blackonsole on April 22nd, 2012 03:26 AM | No Comment
:: How to ban countries ip on CSF (ConfigServer Security & Firewall)
+ edit csf.conf
vi /etc/csf.conf
+ add two-letters country code on CC_DENY (ex: US,ID)
CC_DENY = US,ID
you can refer this url for other countries.
+ restarting csf
/etc/init.d/csf restart
:: Links
+ Google
+ Ponap
:: Clear BlackList Authentication on SolusVM
Posted by blackonsole on April 19th, 2012 02:59 AM | No Comment
:: Issue
If you enter wrong logins number of times for the SolusVM it can lock you by adding your IP to blacklist.
:: How to clear blacklist wrong logins authentication on SolusVM
Login to SolusVM Server via ssh and run this command ...
:: ini_set() has been disabled for security reasons
Posted by blackonsole on April 12th, 2012 03:18 PM | No Comment
:: Error
If you get error like these in share hosting with Joomla CMS:
Warning: ini_set() has been disabled for security reasons in /home/username/public_html/libraries/joomla/session/session.php on line 102
Warning: ini_set() has been disabled for security reasons in /home/username/public_html/libraries/joomla/session/session.php on line 105
Warning: ini_set() has been ...
:: Setup BlackBerry Emails working on CSF
Posted by blackonsole on April 10th, 2012 04:02 AM | No Comment
:: Error
An error occurred during email account validation