[Zope] Virtual Host Monster, Win 98, ZopeBook2.6

working4aliving working4aliving@hotmail.com
Thu, 22 Aug 2002 13:41:26 -0400


try 127.0.0.1 local (no domain suffix)
or any other name.

http://localhost:8080/vhm_host should work also.
if localhost is in the hosts file (it is by default).

----- Original Message -----
From: "Danny Morgan" <danielhmorgan@cox.net>
To: <zope@zope.org>
Sent: Tuesday, August 20, 2002 11:14 PM
Subject: [Zope] Virtual Host Monster, Win 98, ZopeBook2.6


> I'm attempting to set up virtual hosting on my development machine
> which is running Win 98 only.
>
> In chapter 18 of  of the online Zope
> Book
>
(http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.
stx),
> there are instructions and a couple of examples.
>
> I've created a VHM object and tested it with a vhm_test folder and
> index_html method. The results of that test were positive.
>
> The next step did not produce the desired results, however.
>
> As instructed, I created an alias in my system's 'c:/windows/hosts' file
> (which is in slightly different place than it would be for NT, but the
only
> such named file on my computer). The alias is:
>       127.0.0.1 www.example.com
>
> I also added the line:
>       www.example.com:8080/vhm_test
> to the VHM's 'Mappings' tab.
>
> When I enter 'www.example.com:8080' in my browser, I get an
> 'Invalid syntax error/Page Cannot Be Displayed'.
>
> Is Win 98 not able to handle this, or have I done something wrong, or ??
>
> Thanks,
>
> Danny
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>