Naked Password

Want to have a little fun with your clients? Want to make checking password security fun? Try Naked Password! From nakedpassword.com (If you are developing a site for IBM or one of the Big 3, please don’t implement this as it can be seen as offensive) What is naked password? The whole idea of naked…


Regular Expressions: a simple, easy tutorial

From phi.lho.free.fr I added this page which has awesome information because the original aite was unavailable when I checked it. Just to be clear, this is not my work and copyright info is listed at the bottom. It needed reposting, so here it is in all it’s g33ky glory… —————————————————————- First, you may ask, if…


Cpanel on VPS licensing issue

If you utilize WHM/CPanel an a VPS instance, there is an issue which has been identified in which cpkeyclt is looking for the server IP when attempting verify license information via /usr/local/cpanel/cpkeyclt and not finding the correct IP that matches the listed cpanel license. According to cpanel, they have run across this behavior several times…


Kill defunct PHP processes

If you have run into defunct php processes that keep running on the server which causes the CPU load to increase, read on… Normally to kill these process we can use ps aux | grep -i “defunc” | awk {‘print “kill -9 “$2?} | sh but this is not a permanent solution. The root cause…


Turn off ssl cPanel redirection

SSL redirection can be found in WHM >> Tweak Settings >> Redirection Always redirect to SSL [?] On Off = off Non-SSL redirect destination = Origin Domain Name Hostname Origin Domain Name default SSL redirect destination = Origin Domain Name SSL Certificate Name default Hostname Origin Domain Name Logout redirection URL = No redirection default…


Memcache vs PHP Memcache

or Memcache vs. Memcached It seems that PHP has two memcached libraries named memcache and memcached. What is the difference and how do you know which one to use? The newer memcached PHP extension was created recently by some guys at Digg. It has some new features and performance enhancements. Here is a quick backgrounder…


Load testing with Siege

ABOUT SIEGE Siege is an http load testing and benchmarking utility. It was designed to let web developers measure their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It lets its user hit a web server with a configurable…


DSO vs. CGI vs. suPHP vs. FastCGI

  From http://boomshadow.net Updated: This is one of the most common topics that I see customers will ask about. As highly important as PHP handlers are, they often the least understood. They seem complicated, but its not too hard to understand. You don’t have to know that exact science of how it all works, but…


Turn off csf notifications for specific processes

From configserver.com Process Tracking This option enables tracking of user and nobody processes and examines them for suspicious executables or open network ports. Its purpose is to identify potential exploit processes that are running on the server, even if they are obfuscated to appear as system services. If a suspicious process is found an alert…


Cpanel force password change

For changing all users cpanel logins the next time they login go to Main >> Account Functions >> Force Password Change in WHM and then Select All, then Submit From techtrunch.com There is a cPanel script [chpass] to reset each user’s password. Its syntax is as follows /scripts/chpass username password After running the script always…