httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] Rewrite Rule Rewriting root site
Date Mon, 15 Apr 2013 23:34:35 GMT
On Mon, Apr 15, 2013 at 6:57 PM, Chris Arnold
<> wrote:
> We have a server at We also have another site/app that runs at
We host client applications on our server using apache so the above site/app needs to be http://apps.ourclientsdomain.tld.
Here is what i have gotten to work in the site/app virtual host file:
> ServerName apps.*
>     RewriteEngine On
>     RewriteCond %{HTTP_HOST} ^apps\.
>     RedirectMatch ^/$ /somealias/

Did you mean RewriteRule?  RewriteCond doesn't limit any other directives.

Actually, it is the RedirectMatch specifically causing the problem. How to specify only match

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message