ProxyPass: Redirect directory URL to non-standard port

Solution 1:

Make sure that the following apache modules are installed and loaded:

mod_proxy
mod_proxy_http
mod_ssl

You can check via running the following command as root(assuming httpd is in your $PATH)

httpd -t -D DUMP_MODULES

Afterwards, try changing your configuration to the following:

ProxyRequests Off
<Proxy *>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Proxy>
SSLProxyEngine on
ProxyPass /app1 https://localhost:9090
ProxyPassReverse /app1 https://localhost:9090

The proxy should now work if you visit http://localhost/app1 or http://mydomain.com/app1 assuming mydomain.com points to localhost.