You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jon Fraley <jf...@glenraven.com> on 2002/06/03 21:45:38 UTC
proxypass question
I am trying to setup a dmz webserver to access my mail server behind the
fire. I have this in my http.conf file:
<VirtualHost dmz.server.com>
ServerName email.internal.com
ProxyRequests on
ProxyPass /webmail/ http://email.internal.com:180/
ProxyPassReverxe /webmail/ http://email.internal.com:180/
ProxyVia on
</VirtualHost>
when I enter http://dmz.server.com/webmail/ I get my login screen. I enter
my id and password and click continue, the browser gives me url not found.
This url is in the browser:
http://dmz.server.com/en/mail.html?sid=sfdefrafefwe&lang=en&cert=false I can
edit the url in the browser to add webmail as in:
http://dmz.server.com/webmail/en/mail.html?sid=sfdefrafefwe&lang=en&cert=fal
se and the browser will then display my email folders.
Am I missing something here? How can I get the correct url to be returned
with webmail in it?
Jon Fraley
Unix Systems Administrator
Glen Raven, Inc
(336) 586-1148
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: proxypass question
Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 3 Jun 2002, Jon Fraley wrote:
> ProxyPass /webmail/ http://email.internal.com:180/
> ProxyPassReverxe /webmail/ http://email.internal.com:180/
> when I enter http://dmz.server.com/webmail/ I get my login screen. I enter
> my id and password and click continue, the browser gives me url not found.
> This url is in the browser:
> http://dmz.server.com/en/mail.html?sid=sfdefrafefwe&lang=en&cert=false I can
> edit the url in the browser to add webmail as in:
> http://dmz.server.com/webmail/en/mail.html?sid=sfdefrafefwe&lang=en&cert=fal
> se and the browser will then display my email folders.
>
> Am I missing something here? How can I get the correct url to be returned
> with webmail in it?
Don't use any absolute URLs on the target website.
The only other option is to root your reverse proxy at /, so that absolute
URLs resolve to the same thing on both servers.
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org