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.s...), 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
Can you do this from a command line to see if the hosts entry "took": ping www.example.com .. and let us know the results. If it didn't take, you'll get an error. If you get an error you'll need to find out why (specifically for Win98) and fix that first. - C On Tue, 2002-08-20 at 23:14, Danny Morgan wrote:
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.s...), 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 )
ping indicated that the host entry took
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 ??
Did you try the full "http://www.example.com:8080" ??
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 )
participants (4)
-
Adam Manock -
Chris McDonough -
Danny Morgan -
working4aliving