A Simple Rewite Rule
RewriteEngine on RewriteCond %{HTTP_HOST} ^domainname.com RewriteRule ^(.*)$ http://www.domainname/$1
RewriteEngine on RewriteCond %{HTTP_HOST} ^domainname.com RewriteRule ^(.*)$ http://www.domainname/$1
#!/bin/bash loadavg=$(uptime | awk -F "." '{ print $1 }' [...]
========================= Resore pkg cat /root/finallist | awk -F. '{print $1}' [...]
cd /usr/src wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz tar -xzvf ruby-1.8.5.tar.gz cd ruby-1.8.5/ ./configure make [...]
echo "Backup completed" | mail -s "Backup Notification" testmail.ignore@gmail.com
edit /home/username/.cpanel-datastore/_usr_sbin_mysqld_--version if you have multiple accounts with problem find [...]
find /home/*/public_html/ -type d -perm 777 -exec chmod 755 {} [...]
#! /bin/bash grep -rl ':blackhole:' /etc/valiases/ >> blackhole_files for i [...]
cat /etc/trueuserdomains | awk -F: '{print $2}' > /root/users for [...]
#! /bin/bash make a file (test1) which contains domain names, [...]