tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Haferman <j...@haferman.com>
Subject Re: secure reverse proxy to my tomcat server HELP NEEDED
Date Mon, 03 Mar 2014 23:25:14 GMT
Hi Chris -
Sorry for the "HELP NEEDED".

What actually happens is that, just for https://my.webserver.com/, I get served the pages
that are 
at the apache root, *not* what is being served by tomcat at port 8443.

I do get the tomcat pages if I explicitly add the port, i.e. https://my.webserver.com:8443/
So, the reverse proxy seems to be broken for https only.

The reverse proxy works fine for http, i.e. http://my.webserver.com/ gets the tomcat pages
served
at http://my.webserver.com:8080/

Jeff

Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Jeff,
>
> On 3/3/14, 5:11 PM, Jeff Haferman wrote:
>> Yes, for development httpd and tomcat are on the same physical
>> machine. Eventually they will be on different machines. But, even
>> if I try browser <--- HTTPS --> httpd <-- HTTP --> Tomcat by just
>> changing the ProxyPass and ProxyPassReverse directives to use the
>> unencrypted URLs as follows
>> 
>> <VirtualHost *:443> SSLEngine on SSLProxyEngine on 
>> SSLCertificateFile /path/to/server.crt SSLCertificateKeyFile
>> /path/to/server.key ServerName my.webserver.com ProxyPass /
>> http://my.webserver.com:8080/ ProxyPassReverse /
>> http://my.webserver.com:8080/ </VirtualHost>
>> 
>> the reverse proxy still does not serve the tomcat pages as I would
>> expect.
>
> Given the above setup, what /actually/ happens when you try to request
> a resource that should go to Tomcat? "does not serve pages as I
> expect" is not a good description.
>
> Oh, and everyone posting NEEDS HELP to it's not necessary to add "HELP
> NEEDED" or similar text to your subjects.
>
> - -chris


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


Mime
View raw message