URL Rewrite on AppServ

Posted in Development, Tutorials by Alex Stoia

Some people like to install apache, php, MySql, phpMyAdmin with one click, so the AppServ package concept was created (Xampp is the alternative package), saving you time and some headaches.
If you have some problem with the appServ preconfiguration, here are the config paths:
- Apache    /installPath/Apache/conf/ httpd.conf
- MySql     /installPath/MySql/my.ini
- Php         /installPath/php/php.ini
So, now let’s return to our problem, URL REWRITE. The default config in apache for this module is ( /installPath/Apache/conf/ httpd.conf ) :

#LoadModule rewrite_module modules/mod_rewrite.so => this prevents apache to load the module on start, because it is commented
The solution is simple un-comment it :
LoadModule rewrite_module modules/mod_rewrite.so
And now just restart the Apache service (from computer manager or from apache folder) and voila, the module is ready to be used :)

Related Entries

Signup for our awesome Newsletter!

We will try to send you e-mail that will open your eyes in the morning and wake you up in the evening!

About the author

  • zsiga

    Super! I like it!

  • viaria

    thanks i tried and i gues it is working

  • http://www.club-penguin.org/ ClubPenguin

    i tried and i gues it is working

  • http://www.topgeldzaken.nl/lenen-zonder-bkr-toetsing/ lenen

    Over de voor- en nadelen van het afsluiten van een lening zonder BKR-toetsing.

  • http://www.kovpack.com kovpack

    thanx. i had problems when was developing site on my local computer, cause i thought that run mod-rewrite is impossible on my machiene. now everything is cool, but i’ve got one question: what to do, if i want only one site to use mod-rewrite? will those changes be applied to all sites at once or only to those, where i’ve written .htaccess files with rules?