Monthly Archives: January 2009

Install ASP

How To: Install ASP (Apache::ASP) on CPanel Login to your server via SSH as root. (If you disabled root logins login with your other username, and su to root) Type: wget http://layer1.cpanel.net/apache-asp.sea Type: chmod 700 apache-asp.sea Type: ./apache-asp.sea

Posted in Apache, Third party softwares

Invalid command .BytesLog., perhaps mis-spelled or defined by a module not included in the server configuration

The problem with this kind of symptom is most likely due to the cause that the mod_belimited.so, mod_log_bytes.so, or mod_bandwidth.so are deleted or corrupted. These 3 files are unique to cPanel-powered web hosting service and are used to control, monitor

Posted in General discussions

php5 in litespeed

AddHandler php5-script htm html php

Posted in Issues, Php

php5 in apache

Add the follwing in .htaccessfile AddHandler application/x-httpd-php5 .php

Posted in Apache, Issues, Php

cpanel backup script

cat /etc/trueuserdomains | awk -F: ‘{print $2}’ > /root/users for i in `cat /root/users`;do /scripts/pkgacct $i; scp /home/cpmove-$i.tar.gz 207.150.188.66;/home/;done

Posted in Scripts

LiteSpeed with cPanel/WHM

You will get many benefits by replacing Apache with LSWS, web pages get loaded faster, server load is lower and memory usage is lower. More web sites can now be hosted on the same server. With LSWS 3.3.1 Enterprise or

Posted in General discussions, Third party softwares

Script to create multiple accounts

#! /bin/bash make a file (test1) which contains domain names, username and password. then run the script: for i in `cat test1` do domain=`echo $i | cut -f1 -d:` un=`echo $i | cut -f2 -d:` pw=`echo $i | cut -f3

Posted in Scripts
Blog Stats
  • 120,576 hits
Follow

Get every new post delivered to your Inbox.

Join 211 other followers