Well, things have changed a bit so let's take one problem at a time. :-) First issue: Do I have my Apache proxy set up correctly?
I want
https://reveal.example.net
(Apache proxy) to redirect to
http://reveal.example.net:8080
(GlassFish web server). In other words, requests will be coming in on port 443 to Apache but my web app is on GlassFish on port 8080. Both servers are on the same box. If I go (via internal network) to
http://reveal.example.net:8080/myapp/mypage.html
I can bring up the web app main page.
Here is my httpd.conf file (relevant content):
<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
NameVirtualHost *:443
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/xyz.crt
SSLCertificateKeyFile /etc/pki/tls/private/xyz.key
<Directory /var/www/vhosts/reveal.example.net/httpsdocs>
AllowOverride All
</Directory>
DocumentRoot /var/www/vhosts/reveal.example.net/httpsdocs
ServerName reveal.example.net
ProxyPass /
http://reveal.example.net
ProxyPassReverse /
http://reveal.example.net
</VirtualHost>
NOTE: I do not have any /var/www/vhosts/reveal.example.net/httpsdocs directory...
Thx
[edited by: phranque at 3:23 pm (utc) on Mar 25, 2014]