Posts Tagged ‘sid’

How to enable mod_rewrite in apache2 (debian/ubuntu)


First install the apache with this command:

apt-get install apache2

Now use locate to find if the is availble on your server:


it will found in “/usr/lib/apache2/modules”

New apache follow some folders to enable and disable mods so now do this:

cd /etc/apache2/mods-enabled
touch rewrite.load
vim rewrite.load (you may use any editor to edit this file)
Continue reading