httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lee fellows <lfell...@4lane.com>
Subject Re: [users@httpd] Mod_Rewrite install
Date Fri, 03 Oct 2003 20:31:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
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
mod_rewrite.so 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.

HTH

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

iD8DBQE/fdyV+ShVRkQlJBIRAqWWAKC7l9bB9tvygk2r1+96g1kI9VYiIwCbBnm+
T9fzGucsFElQOPSCkgoJhpw=
=7d2/
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message