Re: [Zope] Apache/Zope port redirection basic questions...

2005-09-25 Thread Peter Bengtsson
Use this: http://betabug.ch/zope/witch

2005/9/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> I made Apache redirect certain URLs to
> a Zope/Plone site on port 8280 and it works.
>
> (e.g. mysite.com/lef --> mysite.com:8280/lefiss)
>
>
> Question #1: I'm not sure now what is the need for Plone/Zope's
> Virtual Host Monster??? Apache seems to take care of
> proxying/redirection BY ITSELEF!?!?!?
>
> Question #2: Zope/Plone site displays port 8280
> in the client browser. If Apache tries to *hide*
> the redirectionwhy does Zope/Plone reveal the true port and how
> tell ZOpe/Plone to hide this fact again?
>
> Thanks!
>
> Chris
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Apache/Zope port redirection basic questions...

2005-09-25 Thread Andreas Pakulat
On 24.09.05 21:45:45, [EMAIL PROTECTED] wrote:
> I made Apache redirect certain URLs to
> a Zope/Plone site on port 8280 and it works.
> 
> (e.g. mysite.com/lef --> mysite.com:8280/lefiss)
> 
> 
> Question #1: I'm not sure now what is the need for Plone/Zope's
> Virtual Host Monster??? Apache seems to take care of
> proxying/redirection BY ITSELEF!?!?!?

That's right, but...

> Question #2: Zope/Plone site displays port 8280
> in the client browser. If Apache tries to *hide*
> the redirectionwhy does Zope/Plone reveal the true port and how
> tell ZOpe/Plone to hide this fact again?

For exactly this you need the VHM, but not with the mapping-tab, but the
2 special URL-part VirtualHostBase and VirtualHostRoot. 

For example this small example hides the port and redirects the person
viewing http://lsdbis:80 into the lsdbis subfolder

VirtualHost lsdbis:80>
RewriteRule ^/(.*) 
http://lsdbis:8280/VirtualHostBase/http/lsdbis:80/lsdbis/VirtualHostRoot/$1 
[L,P]


Andreas

-- 
That secret you've been guarding, isn't.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )