[thelist] Zope Virtual Hosting/Access Rule

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Wed Mar 27 09:05:01 CST 2002


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

Hi Folks

In a wee moment of spare time, I'm setting up a bunch of domains running
Zope from my home box (using Dynamic DNS from dyndns.org).

The Dynamic DNS is working fine, but I'm having problems with the virtual
hosting.

Rather than go through the palaver of rewriting everything through Apache
(learning one technology at a time is enough for me), I'm using Zope's
Virtual Host Monster, with the tutorial at
http://twsite.bizland.com/twzop0015.htm

Now I've corrected the obvious errors (like a discrepancy between the
column names in gethostfolder and the setup of the Tiny Table), yet
gethostfolder is still returning the following error:

  File /Applications/Zope/lib/python/DocumentTemplate/DT_Util.py, line 231,
in eval
    (Object: VHosts.HostsTable(domainname))
    (Info: VHosts)
  File <string>, line 2, in f
    (Object: guarded_getattr)
NameError: global name 'domainname' is not defined

Suggestions?


Cheers
Martin

--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.




More information about the thelist mailing list