[mod_python] Multiple Apaches on windows ?

Graham Dumpleton graham.dumpleton at gmail.com
Wed Jan 20 18:09:05 EST 2010


2010/1/21 Yves Moisan <yves.moisan at boreal-is.com>:
> Hi,
>
> I am wondering if mod_python can be pointed to more than one Apache
> instance on a windows machine.  Would re-running the mod_python install
> simply replace the old Apache location or would it add what's needed in
> the new Apache too and both could be used with mod_python ?

That only part of mod_python that gets installed into the Apache
install tree is the mod_python module .so file. All you need to do is
copy that file into same location in other Apache installations and
add appropriate LoadModule and other directives to Apache
configuration so it is used and your application launched. No strict
need to reinstall the whole of mod_python as the rest is already
installed in your Python installation which mod_python under other
Apache's will still use. When copying the file, just make sure it has
same ownership/permissions as original to ensure that other Apache
instances can still access it.

Graham



More information about the Mod_python mailing list