httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lee fellows <>
Subject Re: [users@httpd] Mod_Rewrite install
Date Fri, 03 Oct 2003 20:31:14 GMT
Hash: SHA1

On Friday 03 October 2003 14:15, Jeff Lee wrote:
> I would rather not reinstall apache, is there another way?
  Is it a matter of needing to compile mod_rewrite, or merely having 
apache load it?  Or was it compiled in and you just need to use
the proper directives?

  You can look in ${APACHE2_HOME}/modules to see if the module was
compiled but is just not loaded.  Is so, add the appropriate LoadModule
directive in the httpd.conf file, make any other configuration changes you
need to use the module, and restart apache.

  If there are not any modules in ${APACHE2_HOME}/modules, were they
perhaps compiled into the httpd binary?  Do you see mod_rewrite.c if you
do a ./httpd -l ?

  If the module was not built to be dynamically loaded before (is not in
${APACHE2_HOME}/modules), and was not built into the httpd binary, do
you still have the original src directory where apache was built?  If so,
reconfigure to add mod_rewrite and do a make to build it, then copy the to the modules directory and add the LoadModule command
and other configuration changes you need to use it.  Restart apache.
If apache was not built with DSO support ( ./httpd -l does not so mod_so.c
in the listing), you will have to reconfigure apache either to build it in or
to build apache to support dynamic loading of modules, and build
mod_rewrite to be a DSO module.  Then re-install apache.

  I don't think I have covered every possibility, but this should be 
sufficient to get you where you want to go.  Don't forget to double-check
yourself with the documentation.


Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message