httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Another mod_proxy Question/Issue
Date Thu, 31 Oct 2013 14:47:51 GMT
On Thu, Oct 31, 2013 at 2:20 PM, Chris Arnold
<carnold@electrichendrix.com> wrote:
> On Wed, Oct 30, 2013 at 9:24 PM, Chris Arnold <carnold@electrichendrix.com>
> wrote:
>>
>> Apache/2.2.12 (Linux/SUSE). We have a web app that runs under tomcat
>> (8080). We have apache using mod_proxy (80 and 443). According to the tomcat
>> mailing list:
>
>
>>
>> What we need is for apache to proxy, rewrite or whatever the 443 requests
>> to tomcat app on port 8443. I have tried everything from proxypass
>> (reverse), rewrite to mounting in tomcat (which doesnt need to be done). How
>> does one accomplish this with apache?
>
>
>>>You should be able to use something like this:
>>><VirtualHost *:443>
>>>...
>>>SSLProxyEngine On
>>>ProxyPass /path/ https://backend:8443/
>>>...
>>></VirtualHost>
>
> Y - I have tried that before but in the event i had something wrong tried it
> again. Here is the vhost:
> <VirtualHost *:443>
>
> ServerAlias share.domain.tld
>
> SSLProxyEngine On
> ProxyPass / https://192.168.123.3:8443/folder/
> ProxyPassReverse / https://192.168.123.3:8443/folder/

First of all, is "/folder/", "/path/" or "/share/"? You seem to have
used them all so far.. please be careful when anonymizing your config
that you aren't removing information that is necessary to determine
what is wrong....

Given your configuration, the error you are showing is impossible -
there is absolutely no way that "ProxyPass / /share/" could result in
the URL "/shareshare/" being requested on the backend. This leads me
to think that your configuration that you are showing here is not
indicative of the config you are running.

Cheers

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message