• This is probably an apache problem rather than a WordPress problem, but I’m hoping that someone in these forums has had experience getting mod_rewrite working with apache2 on Debian. I’d like to use the mod_rewrite features in apache2 to get the permanlinks working as well as the Faked Folders plugin. I have the mod_rewrite.so module loaded in my apache2, and I have an .htaccess file in the root of my website with the following line in it: “RewriteEngine On” but when I try to open any page, I get an Error 500 message. If I remove the “RewriteEngine On” line from my .htaccess file the website starts working again.
    Can anyone help me please?
    Thanks in advance… Stuart

Viewing 1 replies (of 1 total)
  • Thread Starter amanzi

    (@amanzi)

    Thought I would post the answer to my own question here so that it may help others…
    There were two problems that were causing the 500 error messages, the first was that my virtual directory config file had the following setting:
    AllowOverride AuthConfig
    I changed it to this:
    AllowOverride All
    After I did this I got some new errors in my logs:
    RewriteRule: bad flag delimiters
    To fix this, I just regenerated the permalinks code and pasted it into the .htaccess file making sure not to past any extra spaces or line breaks.
    After this it all worked.

Viewing 1 replies (of 1 total)

The topic ‘help with mod_rewrite’ is closed to new replies.