I've got a Tomcat server (JIRA) working behind an Apache reverse proxy server (took a while but I got there). I'm upgrading my old server and adding Apache to give me some extra functionality and security. The old server was accessed on
I want to be able to get Apache to forward anyone who visits the old address with the port 8443 (i.e. from old bookmarks etc.) to
https://example.com but I'm struggling to get it to work.
I can do the following
https://example.com:8443 generates and SSL connection error in Chrome. I'm a bit stuck.
In httpd.conf I have
Listen 80 Listen 8443
in httpd-vhosts.conf I have
<VirtualHost *:80> ServerName example.com Redirect / https://example.com/ </VirtualHost> <VirtualHost *:8443> ServerName example.com Redirect / https://example.com/ </VirtualHost>
in httpd-ssl.com I have
Listen 443 <VirtualHost *:443> ServerName example.com SSLEngine On SSLCertificateFile "C:\Program Files\Atlassian\JIRA\jre\server.crt" SSLCertificateKeyFile "C:\Program Files\Atlassian\JIRA\jre\server.key" SSLProxyEngine Off ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://example.com:8080/ ProxyPassReverse / http://example.com:8080/ </VirtualHost>