We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33706
    • 51 Posts
    Hi.

    I have used modx with friendly url’s working perfectly under linux.
    But I cannot get it work on my local server (Windows + apache) with xamp.

    I have renamed the file .htaccess to ht.acc and then introduce this set up in my httpd.conf :
    AccessFileName ht.acc

    But no way.

    Any help.

    Thanks in advance.
    • No need to change .htaccess filename, but you generally have to do two things to enable this in XAMPP:

      1. Uncomment the mod_rewrite module in your httpd.conf (so mod_rewrite is enabled)
      2. Add "AllowOverride All" to your document root directives in httpd.conf (so it can make use of htaccess directives)

      This is covered in these forums in more detail somewhere; if you can’t get it to work, try searching on some of the terms like mod_rewrite, httpd.conf, XAMPP, and/or allowoverride.
        • 33706
        • 51 Posts
        Hi.
        Thanks a lot.
        It works perfectly.
        Indeed : mod_rewrite was not loaded.
        Just in case, I have added the following : AccessFileName ht.acc
        Obviously, I have renamed my .htaccess to ht.acc
        It seems that my windows XP does not like too much files beginning with a dot (which seems quite normal, because it seems that it is a file with no name and just an extension.hi hi hi)

        Regards.

        Michel.