Kamis, 05 Juni 2014

Enabling PHP mod_rewrite Module

If you are frequently writing PHP script using a framework, I am pretty sure that you want a beautiful URL.

And for sure, you are using local server to test it. By default mod_rewrite is not enable on Apache server. To enable it, just write this on command line;

$ sudo a2enmod rewrite

After that, you have to restart Apache to make the configuration work

Tidak ada komentar:

Posting Komentar