Monthly Archives: April 2009

Awstats outside cpanel

Download the Awstats.zip from http://totalchoicehosting.com/downloads/Awstats_Access.zip and unzip Go to the stats subdirectory and edit the config.php file Upload the stats directory to your web site, under public_html (creating public_html/stats) Open a browser to http://www.yoursite.com/stats to logon and view your stats

Posted in Cpanel, General discussions, Server Setup, Third party softwares

Freebsd – google apps mail problem

vi /etc/mail/virtusertable @domainname.com %1@google.smtp then make make restart /etc/rc.d/sendmail restart

Posted in FreeBSD, Issues, Mail, Third party softwares

FFMPEG Yum installation

1. Install RPMForge: http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 2. That’ll give you access to a repo to install ffmpeg 3. Then yum install ffmpeg.i386 and yum install ffmpeg-devel.i386

Posted in Cpanel, General discussions, Issues, Scripts, Server Setup, Third party softwares

How to find PHP injection through logs

URL Injection — attempt to inject / load files onto the server via PHP/CGI vulnerabilities Sample log report including date and time stamp (1st field is “request”, 2nd field is the IP address or the domain name being attacked, and

Posted in Issues, Scripts, Server Security

Suphp

Reference from https://support.apthost.com/ What is suPHP is: On most Apache servers, PHP runs as an Apache module. This is the default method of installation. Many hosts have this setup because it is default and potentially they do not realize that

Posted in General discussions, Issues

Invalid tgz file : Cpanel PEAR Installer problem

The problem is caused by differences in the way PHP 5.2.x parses code, and can be fixed by manually patching the listContent function in PEAR’s Archive_Tar package. The fix is to track down the /usr/local/lib/php/Archive/Tar.php and/or /usr/lib/php/Archive/Tar.php files and change

Posted in Cpanel, Issues, Third party softwares

Drop DDOS attack

1. Find.. to which IP address in the server is targeted by the ddos attack netstat -plan  | grep  :80 | awk ‘{print $4}’ | cut -d: -f1 |sort |uniq -c 2. Find… from which IPs, the attack is coming

Posted in General discussions, Issues, Scripts, Server Security
Blog Stats
  • 121,448 hits
Follow

Get every new post delivered to your Inbox.

Join 211 other followers