Categories
CentOS 5.3 Tutorials CentOS 5.4 Tutorials CentOS 5.5 Tutorials CentOS 5.6 Tutorials CentOS 5.7 Tutorials

301 Redirect

Permanent 301 Redirect

Search engines may think www.example.co.za and example.co.za are two different sites.You should set up a permanent redirect (technically called a “301 redirect”) between these sites. Once you do that, you will get full search engine credit for your work on these sites.

In example.co.za html root folder create the following:

# vi .htaccess
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^example.co.za [nc]
rewriterule ^(.*)$ http://www.example.co.za/$1 [r=301,nc]

+George Rushby

Categories
CentOS 5.2 Tutorials CentOS 5.3 Tutorials CentOS 5.4 Tutorials CentOS 5.5 Tutorials CentOS 5.6 Tutorials CentOS 5.7 Tutorials

Installing AIDE on CentOS 5.2

AIDE (Advanced Intrusion Detection Environment) is a free replacement for Tripwire. It does the same things as the semi-free Tripwire and more. This is a must have when maintaining the integrity of your servers.