httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] Rewrite Rule Rewriting root site
Date Thu, 18 Apr 2013 01:02:09 GMT
On Apr 15, 2013, at 7:51 PM, "Chris Arnold" <carnold@electrichendrix.com> wrote:

> On Apr 15, 2013, at 7:41 PM, "Daniel Ruggeri" wrote:
> 
> > On 4/15/2013 6:34 PM, Chris Arnold wrote:
> >> Actually, it is the RedirectMatch specifically causing the problem. How to specify
only match http://apps.somesite.tld?
> > 
> > You can't. You have to use RewriteCond (as you have) and then use
> > "RewriteRule ^/$ /somealias/" in place of the RedirectMatch that you posted.
> 
> I did as you suggested and while http://rootsite.net works, http://apps.rootsite.net
does not.

Any ideas on how to make this work? Trying to get apache to catch http://apps.clientdomain.tld
and rewrite to http://apps.clientdomain.tld/alias
Mime
View raw message