Enable xampp mod_rewrite

4

By default mod_rewrite module is not enabled in apache with XAMPP.

To enable mod_rewrite in xampp first go to the directory of installation <xampp-directory>\apache\conf and edit httpd.conf. Find the line that contains
#LoadModule rewrite_module modules/mod_rewrite.so
uncomment this(should be):

LoadModule rewrite_module modules/mod_rewrite.so

Also find AllowOverride None

Should be:

AllowOverride All

AllowOverride appears 2 or 3 times on the configuration file.  Change all of them.

Posted in: Development

This article has 4 comments

  1. Magento Hosting 01/14/2009, 7:52 pm:

    I had the Object Not Found error, and this sorted it for me. Great blog, short and to the point, and it worked!

  2. Danny 09/09/2009, 11:30 am:

    I have done these. I am having issues still. I uninstalled xampp and reinstalled. May have caused more problems. Can you help? Email me if you can. Thanks

  3. levi 03/30/2010, 2:09 am:

    I have the same question with “magento 404 error: Page not found”
    I delate the sote website, so what can I do,
    Can you help me ? http://ckunderwearstore.com/ have a problem with 404, can not open it

  4. Emil 06/22/2011, 10:47 am:

    Hey!

    Thank you this really works!

    In the new version of XAMPP LoadModule rewrite_module modules/mod_rewrite.so is enabled,

    But it still didn’t work,

    but after changing AllowOverride None to AllowOverride All

    IT NOW WORKS!!!! :D

Leave a Reply

Your email address will not be published. Required fields are marked *

*




You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">