-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jeff,

On 3/3/14, 6:25 PM, Jeff Haferman wrote:
> 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.

Ok. Let's take a look at your original configuration you posted:

> <VirtualHost *:80>
> 
> ServerName my.webserver.com ProxyPass /
> http://my.webserver.com:8080/ ProxyPassReverse /app
> http://localhost:8080/
> 
> </VirtualHost>
> 
> <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:8443/ ProxyPassReverse /app
> http://localhost:8443/
> 
> </VirtualHost>

You also had <proxy> elements outside of the above. Those are
configured differently than the ProxyPass/ProxyPassReverse you have
above. What were those <proxy> elements supposed to do?

Also, you are likely confusing yourself id you are using ProxyPass and
ProxyPassReverse with different URL prefixes (/ vs /app). Why are you
doing that?

> 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.

Sounds plausible.

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

You don't have multiple interfaces (IP addresses) on this machine, do you?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTFikFAAoJEBzwKT+lPKRYUP8P/2PV9XctTcAKp8p0ISguxoey
NmvD9vhhv7f9tBMhWCCe95gTp5NWIFGV5O7vc0F0ooUPzScuu2SsVurz0CO2J5RG
kld4tt3E8kJ+d68UvpiqL3UGBjxgShMjKUSgh6dW1UgKV3WYk56unWm7HDDEjS0E
zjuGwa0u9agncP6Ipyv8sxwZDflyYdAv0qmlZ0f3YUAR+vCCKN5Byn/4BqvFFfUa
2iMhJLQeVb9if7AHc7J97hNpZf1djNO4WgFYfrXshKaASz+YwGig29Yy2qqMcZPB
v9YRBqpZdObshTJuQGnb2NrDNMuoBfpIrUrRETlNLh2odvNjUhUKlrTpgF/JOI9H
eBw1PE/ymHyTZSltgvAMsuQoykJcbbm05xKuWIGVWcq81iqsKfBoEVgxufIMLrXs
C+MP2xDbidU24tGI3n/ZONwEV152no9CUKI3N7avDgkRb20AGh6+85zRYGyCMWcJ
PFMJl8djBVwsddlGYTcBuhyUZxVaYheQr0wVxfkn4syG70YtyO/lUMy5zSb3NJtg
CmrsCHMGnX83ApW0HivGi6REvn7gdZ6vn3YWYQd2IxhbuTUOtRrNgG4gIjAK0dRE
M2ahASYv2AYa3u00PW/918lbubXn34waHI3yOYi2wz+UzWW12wqjkku3DazzwmcB
x5/3VgLt7ha2rd0Sybn5
=eEVb
-----END PGP SIGNATURE-----

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

Reply via email to