Re: Rewrite Rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 23, 2013, at 8:39 PM, "Chris Arnold" wrote:

> 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?

Apache gurus, I really really need to guidance in how to have apache send http://apps.domain.tld to an iis8 rds server that you access from the LAN at http://apps.domain.tld/apps
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux