Friday, September 26, 2008

Active rewrite_module on Xampp

I just realize that I can run site that using rewrite url from .htaccess using XAMPP server. For example clean url on Drupal or permalinks on wordpress. After checking the rewrite_module is not active on XAMPP server. So below the tutorial how to active it.


1. Go to instalation folder of XAMPP %intstalasi_xampp%\apache\conf\
2. Open http.conf with notepad atau your favorite text editor
3. Find sentence LoadModule rewrite_module modules/mod_rewrite.so
4. Remove #
5. Save the file
6. Restart XAMPP server

After that you can run .htaccess with rewrite-url or clean url on drupal or permalinks on wordpress.

Have a nice try!

No comments:

Post a Comment