Enable mod_rewrite in LAMP

mod_rewrite is an Apache module that allows to rewrite requested urls on the fly using rule based rewrite engine. In simple language it is the module that empowers your .htaccess file. It is not activated by default. So you’ll notice your htaccess rules won’t work on fresh install of Apache. In this tutorial we’ll see […]

Change root of apache in LAMP (Ubuntu and Debian Linux)

This tutorial is for changing root directory of apache server on Debian system like Ubuntu. When you install apache (or LAMP) by default the root directory of apache is /var/www/html. When doing development on local machine you might want to change this to some directory in your home directory. Advantage of doing this is you […]