Forum Moderators: phranque

Message Too Old, No Replies

Apache2 + mod_rewrite installation problem

mod_rewrite doesn't seem to be properly installed

         

angeljusto

9:19 am on Nov 17, 2004 (gmt 0)

10+ Year Member



I tried a couple of times to install Apache2 with mod_rewrite as this:

./configure --prefix=/dir --enable-rewrite=shared --enable-so --with-php --with-mysql

All the installation process goes fine, but I can't get the rewrite module to be loaded. I wrote "RewriteEngine on" in the httpd.conf file and the server gives an error, it doesn't understand the line. So the module is not loaded.

PHP, mysql and the rest of the things are working fine, it's only mod_rewrite which i can't load.

Any idea?

angeljusto

11:14 am on Nov 17, 2004 (gmt 0)

10+ Year Member



OK, I don't know what was wrong with the shared flag, but it compiles fine if I get rid of it:

./configure --enable-rewrite

instead of

./configure --enable-rewrite=shared

What are the drawbacks of this approach? I understand that this way the module will be loaded into memory on startup, right? Do you know if this module needs lots of RAM?