[Zope] enhanced Virtual Host Monster question.

Jeffrey Robinson Jeffrey.Robinson@MCICoach.com
Tue, 18 Dec 2001 11:13:25 -0600


	My current setup with Zope is that I have the content I need to
access in /paws/shop so that /paws/shop/index_html would show up to the user
as http://test.gourmetpaws.com/catalogue/index_html 

	The configuration I have been using to do this is:

<VirtualHost test.gourmetpaws.com>
	SSLDisable
	ServerName test.gourmetpaws.com
	ServerAdmin root@gourmetpaws.com
	DocumentRoot /home/paws/public_html
	ProxyPass /catalogue http://24.82.192.244:8080/paws/shop
	ProxyPassReverse /catalogue http://24.82.192.244:8080/paws/shop
	ProxyPass /misc_ http://24.82.192.244:8080/misc_
	ProxyPass /p_ http://24.82.192.244:8080/p_
	ProxyVia on
</VirtualHost>

	And then I just place a SiteRoot in /paws/shop to do the Zope-side
remapping of the URL.  

	This setup does work fine, it is just that I seem to have some
aggravation with the SiteRoot object sometimes and would like to avoid it.
Seeing how nicely I could do direct VirtualHost->Zope mapping with the VHM I
was hoping that I'd be able to do something similar.

	So I do have a working solution, it's just more for my own
aesthetics, I guess.

	Jeff

> Jeffrey Robinson wrote:
> 
> > That is sort've what I wanted, yeah.  Though I thought the
> > VirtualHostMonster would take over from there, see that it was coming
> from
> > test.gourmetpaws.com and then 'map' it to the appropriate subdirectory
> in
> > Zope.
> 
> 
> The configuration you have now should do the following (does it?):
> 
> 1. Send "http://test.gourmetpaws.com/catalogue/Foo" to Zope's "/Foo"
> 2. Make the absolute URL of Zope's "/Foo" be 
> "http://test.gourmetpaws.com/catalogue/Foo"
> 
> Did you want it to do the following instead?
> 
> 
> 1. Send "http://test.gourmetpaws.com/catalogue/Foo" to Zope's
> "/catalogue/Foo"
> 2. Make the absolute URL of Zope's "/catalogue/Foo" be
> "http://test.gourmetpaws.com/catalogue/Foo"
> 
> 
> ...or something else?
> 
> Cheers,
> 
> Evan @ 4-am & Zope