Category: Linux

Permanent redirect (301) with .htaccess

To set a permanent redirection from with example.com and www.example.com to example1.com, the following code shall help you RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule ^(.*)$ “http\:\/\/example1\.com\/$1″ [R=301,L] Just put the...

Force HTTPS using .htaccess file

The following redirect rules can be used in the .htaccess for permanently redirecting http to https (secure connection) in Apache with SSL. RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] or RewriteEngine on...

Seven “must read” Linux tutorials

If you’re going to have long relations with Linux Operating System and use it as efficiently as possible I suggest to read the following howtos and guides that will help you on the way to...

10 Ubuntu Apps For Daily Life

Working from my Ubuntu desktop all day has given me an interesting perspective into what works and what doesn’t when it comes to applications. In this article, I will offer you a roundup of...