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
Tags: apache, configuration, module, mod_rewrite, suse





2 comments
Comments feed for this article
Trackback link
http://blog.alexgirard.com/suse-adding-apache2-mod_rewrite/trackback/
December 13, 2007 at 3:53 pm
ayoli
OMG !
I prefer the ubuntu way :
sudo a2enmod rewrite
December 13, 2007 at 4:17 pm
ayoli
actually, this is most the apache2 way than the ubuntu way since a2enmod and a2ensite (enable vhost confs) are apache tools.