[Suse] Adding Apache2 mod_rewrite

As a reminder for futur Apache configuration on a Suse server:

  • Edit ‘/etc/sysconfig/apache2‘, add ‘rewrite‘ to ‘APACHE_MODULES‘ parameter
  • Edit ‘/etc/apache2/sysconfig.d/loadmodule.conf‘, add ‘LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so‘ to the list of modules
  • Restart Apache server: /etc/init.d/apache2 restart

About alx

3 Responses to “[Suse] Adding Apache2 mod_rewrite”

  1. ayoli

    actually, this is most the apache2 way than the ubuntu way since a2enmod and a2ensite (enable vhost confs) are apache tools.

    Reply

Leave a Reply

  • (will not be published)