EZ Linux Admin random header image

Entries from October 2009

Install fantastico

October 30th, 2009 by EZ linux · No Comments

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz

Click to continue →

Tags: Cpanel and WHM · Linux Software / Scripts

Creating a info.php page

October 27th, 2009 by EZ linux · No Comments

Simple create a file called info.php in your public_html folder then add this codd to the page and save:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

Click to continue →

Tags: Linux Software / Scripts · Linux Tricks

301 redirect

October 12th, 2009 by EZ linux · No Comments

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^dwhs.com [nc]
rewriterule ^(.*)$ http://www.dwhs.com/$1 [r=301,nc]
This will redirect dwhs.com to www.dwhs.com (change dwhs.com to your domain name)
Step by step for DWHS Customers:

log into your cpanel: www.your-main-domain.com/cpanel/
Click file manager and click the option to see hidden files
Make sure your in the folder public_html or www
Then create a new file called:  .htaccess
Then in edit [...]

Click to continue →

Tags: Cheat Sheets · Linux Tricks