We have installed MyCollab which is a web-based project management system, unfortunately it does not support HTTPS. They say here that the system does not support HTTPS but you can use Apache reverse proxy to redirect https to the internal website.
Now here is my httpd.conf
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyRequests Off
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /root/mysitename.crt
SSLCertificateKeyFile /root/mysitename.key
ProxyPreserveHost On
ProxyPass / http://server-ip:9000/
ProxyPassReverse / http://server-ip:9000/
ServerName localhost
RewriteEngine On
</VirtualHost>
The application is running on port 9000. What happens is, requesting the server IP with HTTPS works fine but it does not redirect me to the internal website, instead it shows the Apache test web page. What am I missing here?
The server has Scientific Linux 7.3 with Apache 2.4.6