[mod_python] Same name, different directories...

Gregory (Grisha) Trubetskoy grisha at modpython.org
Thu Apr 4 14:13:04 EST 2002


You can either use PythonInterpPerDirective, or manually force different
interpreter names with PythonInterpreter.

I recommend making sure you're using Python 2.2 if you're going to be
relying on multiple intepreter stuff.

Grisha

On Thu, 4 Apr 2002, Javier Quinteros wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi !!!
> I've defined three Directories in my http.conf, all of them with python
> scripts inside. What i've noticed is that if I have more than one module
> called "module1.py" in different directories, mod_python is not able to work
> with both of them. It seems that it loads the first one (it doesn't matter
> which one) and after that, if I call the second one is the first one the one
> who answers me. After that I had to rename some modules just to avoid the
> possibility that mod_python use them the way he wants.
>
> Is there any solution? I mean, I don't want to get one interpreter for each
> Directory I define.
>
> Thanks in advance,
>
> - --
> - ---------------------------------
> Javier Quinteros
> jquinte at fadu.uba.ar
> SecretarМa de PlanificaciСn
> Universidad de Buenos Aires
> - ---------------------------------
> Existe un solo lugar donde el Norte y el Sur del mundo se enfrentan en
> igualdad de condiciones: es una cancha de fЗtbol de Brasil, en la
> desembocadura
> del rМo Amazonas. La lМnea del ecuador corta por la mitad el estadio Zerao, en
> AmapА, de modo que cada equipo juega un tiempo en el sur y otro tiempo en el
> norte.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8rJtQdBzRnlFl4cgRAnPsAKDC1Q7KTH7QGL8XxdEPqvY9Zwud5gCfZHe0
> sAcXkDQlrdfyrQvaq5rmuPc=
> =qwm3
> -----END PGP SIGNATURE-----
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list