In fact I've been forced doing the same thing (hacking z2.py) under Win2000, with Zope running as a service, because I couldn't manage to get things work properly with different approaches (like trying to set registry or environment variables). The only difference with Harry Lee is that now things work properly, including different instances (and versions) of Zope running on different TCP ports. The only problem is to remember to hack again when installing a new release: but this is not happening everyday! This approach is not so terrible (at least for not complex situations): now, I can test the porting of "old" products under a new release and check that everything works properly (or correct as needed). Then simply "hack" z2.py and "voilĂ : les jeux son faits". p.t. At 17:21 13/08/2002 +0100, Chris Withers wrote:
harry lee wrote:
xhanging HTTP_whatever to 80 from 8080, and restarted my server after renaming z2.pyc out from under. now I can access the server at port 80, but I can no longer log in to my masnage page.
I suggest you un-hack it and do "python z2.py --help" to show you how to do that properly ;-)
cheers,
Chris