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

Danny Morgan danielhmorgan@cox.net
Tue, 20 Aug 2002 22:14:03 -0500


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