fiddle2 entry

< previous [home] next >

Date: 2007-09-09 09:49:11 (Author: trav)
Link: http://travis.kroh.net/archives/004954.php

I've had some issues installing an apache module recently (mod_log_mysql for those of you playing at home), and in my travels across Google I came upon a great many forums that include a query to the effect of:

The documentation says to add LoadModule rewrite_module modules/mod_rewrite.so to httpd.conf, but I don't have mod_rewrite.so! So I recompiled apache using the --enable-rewrite option, but it still isn't there!

I'm paraphrasing, of course, any relation to actual forum posts, real or imagined, is purely coincidental.
Anyway, the solution is somewhat poorly defined in the configure help: you have to pass an argument to --enable-rewrite to get it to build a shared object file instead of compiling it in. Personally, I prefer to just pass a list of modules I want built rather than adding the shared argument to each module's option: ./configure --enable-so --enable-mods-shared="rewrite[ modules]" [options] Voila! mod_rewrite.so lives!

 

[ home - archives - quoteboard - blogger decoder - wishlist ]

Creative Commons License This work is licensed under a Creative Commons License.