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

Ted,

On 10/5/16 6:10 PM, Ted Spradley wrote:
> Chris,
> 
> Thanks for your response.
> 
> On Wed, Oct 5, 2016 at 3:14 PM, Christopher Schultz < 
> ch...@christopherschultz.net> wrote:
> 
> Ted,
> 
> On 10/5/16 3:42 PM, TED SPRADLEY wrote:
>>>> Tomcat 7.0.68 Apache 2.4.6 CentOS  7.2.1511
> 
> Thanks.
> 
>>>> Problem: A Tomcat application at context "/mycontext" on port
>>>> 8081 running through Apache proxy renders as expected when
>>>> using http://example.com/mycontext but
>>>> https://example.com/mycontext call renders "The requested URL
>>>> /mycontext/ was not found on this server."
>>>> 
>>>> Question: Do I have a Tomcat Connector configuration problem?
>>>> Or an Apache proxy configuration problem? Or an Apache
>>>> ssl.conf problem?
>>>> 
>>>> Note: the CA issued certificate appears to be properly
>>>> installed as evidence by the lock icon in the url bar
>>>> displaying "Verified by Š " when doing a mouseover.
>>>> 
>>>> Files: Httpd.conf - <VirtualHost *:80> ServerName
>>>> www.example.com ServerAlias *.example.com ProxyRequests off
>>>> ProxyPass /mycontext  http://example.com:8081/mycontext
>>>> ProxyPassReverse /mycontext
>>>> http://example.com:8081/mycontext </VirtualHost> <VirtualHost
>>>> *:443> ProxyRequests off ProxyPreserveHost on SSLEngine on
>>>> SSLCertificateFile /path/to/certs/ca.crt 
>>>> SSLCertificateKeyFile /path/to/key/private/exampleDotCom.key 
>>>> ServerName www.example.com ServerAlias *.example.com
>>>> ProxyPass /mycontext http://example.com:8081/mycontext
>>>> ProxyPassReverse /mycontext http://example.com:8081/mycontext
>>>> </VirtualHost>
> 
> On first inspection, that looks correct.
> 
>>>> Tomcat's server.xml Connector <Connector port="8081" 
>>>> protocol="HTTP/1.1" connectionTimeout="20000" 
>>>> proxyName="www.example.com" proxyPort="80"
>>>> redirectPort="8443" xpoweredBy="false" server="Apache TomEE"
>>>> />
> 
> That also looks correct.
> 
> How have you deployed your actual application?
> 
> 
>> Yes. It is deployed and responds as expected through the proxy
>> when using http.

Great. But *HOW* have you deployed your actual application?

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

iQIcBAEBCAAGBQJX9XsvAAoJEBzwKT+lPKRYYJYQALKX6jEiUlcQQ2fXCq6a017F
/6rVjJ36ptaaQQ6O2xYLDI+efHASKK0swg6zwxtR10F9PepcXKreTGIGjvzT4vG3
hvXuWtrKRVyOXDAhkdzXjAmwdovj+3vRf7Qm+GrpAMCI+Fi/GYyCsW2a7Opdlhnh
fWTwz3PVcuJ0+N7wFX55hChm0NjX9P1T6CLxJ7k1Q//vr+PqBUyJiNO1FRuoS1+D
vJOI2Ixm7E/tXCRc81aZA572fXIV78gcJmbHkERpy5WOW+G6UIG1XKNxqF4Afpqj
bL8dPNj22fZRu/qyIpYGVdMfyaSFkbfWP8jM8eQS9fLs9t+BPgzyt/Z0wxhsEVDT
EY/E9qAUr2Ai3TFlgZOz79ED1VQkVDTMlpZQ/w9XsyLjT518KKPBT6v665wVfeaV
N+uxoIGj4Ew37Xcm2RAXkv5BuomdqhtkpJ2n/BZ/pXxUQwpo57mDyBUDoVnSouuS
eC+vmcjroeq73dPE07PNRJpphjw8K5uZCo+en+qH1kVhwe2O8JNtjy5wkjslcdKF
+2vwlUFdoPO+8bhNu8PfsK6XZOJ0Uejf7iogb8OXr3SRjPF8qYnz28OBiAV3NC5E
dq8Do2mFWcWFTi+uV9axQl4+iAr+3P/g8sZJ8CTtySFfQBmBJky6xOIKtbshxRiI
mdFOlM+R4jw1wnwWE5Hp
=kOrd
-----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