httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] Apache Not Redirecting
Date Sat, 06 Apr 2013 00:34:34 GMT
----- Original Message -----

From: "Chris" 
Sent: Friday, April 5, 2013 1:34:03 PM 
Subject: [users@httpd] Apache Not Redirecting 

>Apache 2.2.12 on sles11 sp2. We are trying to get users to access
. Apache has a >VirtualHost file with redirectmatch ^/$ 
>Apache seems to not be redirecting this. Here is results: 
>Any ideas why apache is not performing the redirectmatch? 

So, i am wondering if i can do a http_host regex? Something like: 
<VirtualHost *:80> 
ServerName share.* 

JkMount /share|/* worker1 
RewriteCond %{HTTP_HOST} ^share\. 
RedirectMatch ^/$ http://share.{HTTP_HOST}/share/ 


Would that accomplish anydomain? We will have many clients accessing the same content at http://share.theirdomain.tld
and we need it to redirect to http://share.theirdomain.tld/share. 

View raw message