Apache 2.12.x on SLES11 SP2. We have a RDS server behind an apache server using
proxypass. We need users to get to the RDS server using
https://apps.domain.tld. The apache server should catch this request and
send/rewrite to https://apps.domain.tld/rds/something/something/login.whatever.
We have a ssl virtual host and in this virtual host i have a rewrite statement:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^apps\.
RewriteCond %{HTTPS} on
RewriteRule ^/(.*) https://192.168.123.7/$1 [P]
#RedirectMatch ^/$ /rds/something/something/login.whatever
This takes me to the root of the rds server, hence the redirectmatch which
produces a 404. I have also written another ssl virtual host but apache does
not start and complains about 443 overlap. How do i accomplish users landing at
the rds server when typing https://apps.domain.tld?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]