httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bishop, Cass" <cbis...@atxna.com>
Subject RE: [users@httpd] ProxyPass Problem
Date Wed, 25 Jun 2003 13:18:16 GMT
Thanks Zac, that solved my problem.

-----Original Message-----
From: Zac Stevens [mailto:zts@cryptocracy.com]
Sent: Tuesday, June 24, 2003 9:30 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] ProxyPass Problem


Hi Cass,

On Tue, Jun 24, 2003 at 03:42:00PM -0500, Bishop, Cass wrote:
> ProxyPass /     http://localhost:8080/
> 
> When I enter https://www.mydomain.com/ into my browser I cannot establish
a
> conection.  If I enter https://www.mydomain.com/index.html the page comes
up
> fine.  I'm assuming that the Proxy is sending the localhost link along to
> me.  What can I do to fix this without changing my ProxyPass line?

I'd actually have expected both those examples to work - perhaps you
dropped the trailing slash when you tried the first example?

In any case, out of the box you will have a problem with server-generated
redirects.  This can be fixed using the ProxyPassReverse directive, with
the same arguments as ProxyPass.  

http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypassreverse

Cheers,


Zac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message