Harga Domain .COM Termurah Hanya 99rb

Cara mengaktifkan mod_rewrite pada apache2.2 (debian / ubuntu)

Here i am going to describe how to enable mod_rewrite in apache2.2 -specaily for debian. In default installion of apache2.2 on debian never enable mod_rewrite default. So you may need to enable .

First install the apache2.2 with this command :

debian user please use “su” before start this process

ubuntu user please use “sudo su” before start this process

now use locate to find if the mod_rewrite.so is availble on your server

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

new apache follow some folders to enable and desuable mods.

so now do this:

now paste this following line

Then edit /etc/apache2/sites-available/000-default Find the following

and change it to

and finally restart Apache


Baca Juga:  Cara Install Apache, MySQL/MariaDB dan PHP pada RHEL 8
Promo VPS Diskon 70%

Di tulis oleh: