This guide will cover installing and updating Apache 2, MySQL 5 and PHP 5 on Debian Linux.

Step 1. To start with, its important to make sure apt-get is the latest version.

apt-get update && apt-get upgrade

* This line will update your aptitude to the latest version information and then upgrade the applications on your computer.

Step 2. Next, lets install Apache2.

apt-get install apache2

* This will install and provide basic configuration for apache2.
*  The default web directory will is /var/www and the Apache 2 configuration can be found in /etc/apache2/.

Continue Reading…

The simplest way of achieving this is by altering the .htaccess file in your websites root directory.

Download the .htaccess file to your computer using your favorite FTP client, open and edit it.

If you do not have a .htaccess file you can create one and upload it, look harder tough, these files are usually hidden.

If your website root directory does have a .htaccess file open it and first check to see if the rewrite engine declaration is posted: RewriteEngine On

If the Rewrite Engine is On then go ahead and add this following code to your .htaccess file:

Remember to backup your .htaccess file before you start editing it. Continue Reading…

Page 7 of 71234567