Admins eHow SysAdmin Tips & Tricks

May 12, 2009

How to apply multiple css classes to an HTML element

Filed under: CSS,General — Tags: , , , — admin @ 9:54 am

Applying multiple css classes to an HTML element is easy , simply put an space between classes.
Example :

.class1 {color:red;}
.class2 {background-color:blue;}
<tr class="class1 class2"><td>< an example</td></tr>

May 11, 2009

How to redirect to roundcube using mod_rewrite

Filed under: cPanel,General — Tags: , , , — admin @ 8:45 am

This only works only if you have a dedicated IP on your cPanel account
Many people are having problems accessing cPanel mail clients , entering mail client from cPanel takes a lot of times and memorizing the URL which is located on “” is not easy, also it is very long.
after some research, I found an excellent solution to solve this problem one time forever and for all addon domains !
cPanel makes a CNAME entry for and all to automatically , we will use it to do the trick.
create .htaccess file in the root directory of your main domain ( /public_html folder ) and copy and paste the following code into it :

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{http_host} ^mail\.(.*)\.com$ [NC]
RewriteRule ^(.*)$ [R=301,NC,L]

it will redirect and all of to

May 9, 2009

How to autostart a service on Debian, CentOs and RedHat

Filed under: CentOS,Debian,General — Tags: , , , — admin @ 3:31 pm

For Debian based distros run the following command as root :

update-rc.d servicename defaults

For CentOS and RedHat run the following command as root :

chkconfig servicename on

May 8, 2009

Best Blogging addon for FireFox

Filed under: General — Tags: , , , , — admin @ 9:03 am

I have installed and tried almost all of available blogging addons for FireFox and without any doubt the best of them is scribefire.
it supports wordpress and many other blogging platforms.
you can download and install it from this link :

How to use Google Apps email with WHMCS

Filed under: General — Tags: , , — admin @ 5:41 am

Here is the complete guide on how to do it :
but for step 4 (SMTP in WHMCS) download this file : ( it is the customized PHPMailer v5.0 )
and rewrite the class.smtp.php and class.phpmailer.php in the includes folder of WHMCS.

May 7, 2009

Redirect 301 to using mod_rewrite

Filed under: General — Tags: , , , , — admin @ 9:10 am

For SEO improvements you may want to create a permanent redirect (301) from your to
you can do it easily using Apache mod_rewrite , simply open .htaccess file in the root directory of your website and add the following lines to it :

Options +FollowSymLinks
RewriteEngine On
rewritecond %{http_host} ^ [NC]
rewriterule ^(.*)$$1 [R=301,NC,L]

it will do the trick for you 🙂

May 3, 2009

How to download files from FTP account easily Using FireFox + Flashgot + Flashget

Filed under: General — Tags: , , , , — admin @ 5:35 pm


I have a Torrent Hosting service from a site named , I am almost 2 years with them and they are really good 🙂 anyway it is not a review for them but I want to teach you how to use combination of Firefox + Flashgot + Flashget to download your files easily from any FTP server.

You need these tools :

FlashGet version 1.73 , download here ( dont download newer versions , they are full of ads and crap )
Lates version of Firefox , download here
Latest version of Flashgot extension , download here

download these softwares and install them on your PC , remember flashgot is an addon for Firefox.

after installations , access your FTP account by this url in Firefox :
you will see something like this :


enter any folder which you want to download its files , and right click on page and choose Flashget All :


uncheck the first two options and click on OK :


on the next page specify where you want the files to be saved and click on OK.


it’s done 🙂 all of your files will be added into flashgot queue and downloaded into the folder which you specified.

« Newer Posts

Powered by WordPress