Sometimes we need to redirect old links to new pages, it`s very easy. Redirect 301 /oldpage.php http://newlink/newpages.php
Sometimes we need to redirect old links to new pages, it`s very easy. Redirect 301 /oldpage.php http://newlink/newpages.php
rsync -rPtz –progress -e ssh /local_backup_path/ remote_host:/remote_backup_path/ The -e ssh tells rsync to use a ssh client instead of rsh. The -z option compresses the file. -t preserves time attributes and the -P option resumes incomplete file transfers. If you…
This is how to extract only one directory with all files from tar archive tar xf rosen4o-01Dec.tar home/www/root/
I have one rrd file in which store information about outside temperature. Now the temperature is negative so I have problem with storing negative values. The problem is fixed with rrdtool tune rrdtool tune temperature.rrd -i temp:-20
cd /usr/local/src Download the module wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz Untar tar zxvf mod_evasive_1.10.1.tar.gz Go to the folder cd mod_evasive Compile it /usr/sbin/apxs -cia mod_evasive20.c Add to apache config file /etc/httpd/conf/httpd.conf <IfModule mod_evasive20.c> DOSHashTableSize 3097 DOSPageCount 6 DOSSiteCount 100 DOSPageInterval 2 DOSSiteInterval 2…