Restore multiply Cpanel/WHM backups shell script

24 July 2010

#!/bin/bash BACKUPS=$(ls -al /home/*.gz |awk '{print $9}') for i in $BACKUPS do echo "Restoring $i now...." /scripts/restorepkg $i done

Read the full story

Posted in cpanel0 Comments

Free RTL Joomla Templates for Persian(farsi) or Arabic Languages

09 July 2010

You can easyly Download these RTL Joomla Templates (Theme) by easyly clicking the links bellow: http://maroonhost.com/joomla-template/maroonhost-coffee-break.zip http://maroonhost.com/joomla-template/maroonhost-sg-for-sale-j15-102.zip http://maroonhost.com/joomla-template/maroonhost-fashion-look.zip http://maroonhost.com/joomla-template/maroonhost-study.zip http://maroonhost.com/joomla-template/maroonhost-hotel.zip http://maroonhost.com/joomla-template/maroonhost-school-time.zip http://maroonhost.com/joomla-template/maroonhost-jungle.zip http://maroonhost.com/joomla-template/maroonhost-flight-simulator-template.zip

Read the full story

Posted in Joomla Templates0 Comments

how to fix internal server error caused by .htaccess

09 July 2010

There are Times even after uploading your script or after changing the apache handler to suphp your site would endup with this error internal server error when apache handler is on suphp you can not use php_flag on .htaccess instead you should use php.ini for example if your intention is to turn register_globalOn/Off you should [...]

Read the full story

Posted in Apache0 Comments

how to solve “Briefly unavailable for scheduled maintenance. Check back in a minute.” in wordpress

09 July 2010

Today i noticed that one of my Themese has an update in wordpress control panel.I had modified that theme and had some parts of that deleted.I thought that if I click update, that theme will be updated and every things will be overwritten and also the deleted parts will be added. but no luck The [...]

Read the full story

Posted in wordpress0 Comments

finding answer for X in this Equation 10x/(10+x)=10+x

03 July 2010

Today while I was watch the match Spain and paraguay that it was 0:0, one of my friends asked me about solving this equation 10x/(10+x)=10+x this will easyly become to the bellow form by multiplying the 2 side of the equation by 10+x: 10x=(10+x)*(10+x) 10x=(10+x)^2 10x=x^2+20x+100 x^2+10x+100=0 It was a bit hard for me at [...]

Read the full story

Posted in Mathematics0 Comments

A Few tips for Protecting Apache Web Server against DOS Atacks

25 June 2010

When it is talked about ddos it is mainly a dos atack that is attacking the web server and this is categorised to Apache Security. The first thing is to update apache to the latest version and have the latest modules installed to get rid of the known exploits. Lower The Timeout Timeout directive must [...]

Read the full story

Posted in Apache0 Comments

How to have Custom VirtualHost configurations without being overwritten with cpanel?

25 June 2010

Cpanel virtualhost Function Cpanel will always create apache configration and virtual host by its own template and every domian creation or susspenssion or termination or any thing else related to virtualhost configration of apache if being done will resultin cpanel to recreate apache virtualhost configration that will overwrite other custom modified settings. Solution to have [...]

Read the full story

Posted in Apache, cpanel0 Comments

Disaster of spilling oil is reaching Florida’s Beach

03 June 2010

today i was shucked that I heared the news that the oil is reaching the Florida’s Beach where is a place for tourists this will have affects on the international economy “You’re talking about enormous potential economic loss,” Mr. Nelson, a Democrat, told reporters. “I suspect at the end of the day you’re going to [...]

Read the full story

Posted in Real World Related0 Comments

How to Redirect .php to .html in all of the links pages URL?

26 May 2010

you may be in some cases that apearing .php at the end of your links is not apealing to you and you want to do some modification of your URL apearience after that you had your rewrite rules you then need to have all of the old URLs with .php extenssion to .html to avoid [...]

Read the full story

Posted in Apache0 Comments

fixing internal server error caused by SuPHP handler in apache

22 May 2010

There are lots of times that you may be encountered this error on your websites on the server “HTTP Error 500 – Internal server error” Even after transfering your site to a new web hsoting or by changing the handler on suphp on your panel let say cpanel. As the SUPHP is sensitive for permission [...]

Read the full story

Posted in Apache2 Comments