[mod_python] Importing different script with the same names

Michael S. Fischer michael at dynamine.net
Mon Jan 12 18:16:58 EST 2004

Alain Tesio wrote:
> Hi, I have the problem described in the faq here :
> http://www.modpython.org/FAQ/faqw.py?req=show&file=faq03.009.htp
> In short, when you request /home/x/script.py and then another requests
> wants /home/y/script.py the first one is used in the same apache process.
> This makes it hard to have production and test scripts on the same machine.

Alternatively, perhaps you could bind the server to two separate ports
using <VirtualHost> blocks, each serving the same namespace but using
different mod_python modules.



More information about the Mod_python mailing list