On Wed, Oct 19, 2005 at 02:28:18PM +0200, Sebastian Ware wrote:
> We are using a Apache ProxyPass directive to direct incoming requests  
> through our firewall. Since Schoolbell is running on port 7080, and I  
> want to access it through port 80, I would like the URLs to be forced  
> to this address
> 
> ProxyPass /schoolbell http://192.x.x.x:7080/
> 
> I want the URLs to look like http://foo.bar/schoolbell/[the ordinary  
> stuff]
> 
> The way it works now is that the URLs look like http://192.x.x.x:7080/ 
> [the ordinary stuff]
> 
> Kind of defeats the point of the proxy...
> 
> Kan this be fixed or is there another work around.

Indeed it can be fixed.  This is a common problem with virtual hosting
and proxy redirects, and has been solved at the Zope 3 level a long
time ago.  Try the following ProxyPass rule:

ProxyPass /schoolbell http://192.x.x.x:7080/++vh++http:foo.bar:80/schoolbell/++/

Cheers,
Albertas
_______________________________________________
Schooltool mailing list
[email protected]
http://lists.schooltool.org/mailman/listinfo/schooltool

Reply via email to