Enable Apache 2 modules in OpenSuSE 11

By | September 12, 2009

OpenSuSE 11 has a strange and funny way for loading the modules. If you try to load modules by modifying an .conf file, you will be surprised when you will realize that at the restart, your change will be lost.

You have two options:

1. Load that modules only when you need it, in a custom .conf file

2. Use the a2enmod tool

I had a problem when I try to use RewriteRule, I don’t find any mod_rewrite. After a2enmod rewrite, I can do only redirect, no proxy. When I try to do a proxy pass I received the following error in error_log file:

attempt to make remote request from mod_rewrite without proxy enabled

I maneged to resolve this problem with:

a2enmod proxy

a2enmod proxy_http

Using a2enmod is the easiest way.

Leave a Reply

Your email address will not be published.

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