problem with permalinks in wordpress on plesk – strato virtual server

This took me a while!
We installed a wordpress on the strato virtual machine and changed the permalink structure, but it didn’t work.
My first thought was that there must be something wrong with mod_rewrite. Seems like apache is not reporting if a module isn’t loaded but tried to use.
As Plesk is doing a good job with it’s user interface, they are not using a standard apache installation with mods-enabled & mods-availible.
After searching for a while I found a file called /etc/sysconfig/apache2.

In my case it’s line 84:

APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 perl python suexec"

This is telling the apache which modules have to loaded, as you can see there is nothing like rewrite.
Edit this line:

APACHE_MODULES="rewrite actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 perl python suexec"

Restart apache with:
/etc/init.d/apache2 restart
And it works.

4 Responses to problem with permalinks in wordpress on plesk – strato virtual server

  1. Peter Quinn says:

    Hi. I am a long time reader. I wanted to say that I like your blog and the layout.

    Peter Quinn

  2. Jabser says:

    Thank you very much, it works for me (smallest Strato V- Server).

  3. keely says:

    Pleasant article. I came across your website and also needed to express that I’ve truly cherished searching ones website threads. In any event I am checking for the rss and i am expecting you’re writing once more quickly!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: