[Zope] Display domain name in browser

David Lutz david@jadescape.com
Thu, 20 Sep 2001 10:55:10 +1000


At 00:13 2001-09-20 GMT, you wrote:
>My website (http://www.dksy.net) is hosted at a site to which I do not=20
>have access except to redirect to a Redhat 7 server in my office :
><META HTTP-EQUIV=3D"refresh" CONTENT=3D"0;=20
>URL=3Dhttp://00-20-78-D5-A9-C8.bconnected.net:8080/dksy-portal">
>
>When (http://www.dksy.net) is entered in a browser,=20
>(http://00-20-78-d5-a9-c8.bconnected.net:8080/dksy-portal) is displayed.
>Is it possible to maintain the original domain in a browser  =96 or would=
=20
>this confuse the browser?
>Is it possible to configure Zope alone to display the domain name?
>
>Any suggestions would be greatly appreciated
>David

Why don't you do something like this instead:

index.html on http://www.dksy.net
-----------
<HTML>
<HEAD>
<title>frame example</title>
</HEAD>

<frameset rows=3D"100%,*" border=3D"0" frameborder=3D"0" framespacing=3D"0"
framecolor=3D"#000000">
=20
  <frame src=3D"http://00-20-78-d5-a9-c8.bconnected.net:8080/dksy-portal"
name=3D"hello" >=09

<!--this won't be shown -->
  <frame src=3D"http://www.microsoft.com/please-fix-IIS-nimda-is-shitting-me=
">
<!--this won't be shown -->

</frameset>

  <noframes>
  <body>
   	If your browser supported frames this page would look really cool!
  </body>
  </noframes>

</HTML>
------------------------------

Cheers,   David.