<dtml-call "RESPONSE.redirect('/dir/dir')">
Note: /dir/dir is the url within your Zope Structure/URL
works like a champ
Yeah, but this line only works if I put an "index_html" document in the root of my zope site and the user types www.myzope.com, but the problem is that he doesn't know that this address even exists. What I want is that when the user type: www.oldsite.com he will be fordwared to www.myzope.com/folder1/folder2/website/ without knowing it and he won't see www.oldsite.com/folder1/folder2/webite in the address bar. He will see the old address. Anyway, thanks for your reply.
virtual hosting like this is explained in dozens of documents on zope.org or in the mailing list archives. do a search for "virtual hosting" and you should get a lot of hits. jens On Monday, May 13, 2002, at 12:58 , Josef Meile wrote:
<dtml-call "RESPONSE.redirect('/dir/dir')">
Note: /dir/dir is the url within your Zope Structure/URL
works like a champ
Yeah, but this line only works if I put an "index_html" document in the root of my zope site and the user types www.myzope.com, but the problem is that he doesn't know that this address even exists.
What I want is that when the user type: www.oldsite.com he will be fordwared to www.myzope.com/folder1/folder2/website/ without knowing it and he won't see www.oldsite.com/folder1/folder2/webite in the address bar. He will see the old address.
Anyway, thanks for your reply.
_______________________________________________ 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 (2)
-
Jens Vagelpohl -
Josef Meile