Hi
I'm struggling with apache confiuration to reverse proxy 2 JIRA instances running on the same machine but different ports. I came up with this apache conf:
NameVirtualHost jira.mycompany.pl:80
<VirtualHost jira.mycompany.pl:80>
ServerAdmin blah@whatever
ServerName jira.mycompany.pl
ErrorLog logs/jira80.error.log
Redirect / http://jira.mycompany.pl:8666
</VirtualHost>
NameVirtualHost jira.mycompany.pl:8666
<VirtualHost jira.mycompany.pl:8666>
ServerName jira.mycompany.pl
AllowEncodedSlashes On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLEngine on
SSLProxyEngine On
SSLCertificateFile 2jiramycompanypl.cer
SSLCertificateKeyFile jirakey.key
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://jira.mycompany.pl:8443/
ProxyPassReverse / https://jira.mycompany.pl:8443/
</VirtualHost>proxy-host="jira.mycompany.pl" proxy-port="8666" proxy-scheme="https"
It seems like the first virtual host works but I cannot make apache do the second one. Please help 