httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] rewrite rule along with mod_jk
Date Fri, 23 Aug 2013 11:47:42 GMT
On Fri, Aug 23, 2013 at 7:44 AM, vicky <vicky007aggarwal@yahoo.co.in> wrote:
> I would like to redirect the request from apache to tomcat using the URL
> http://dev.market.bills.com/
>    without mentioning any context root in this url ,the request should get
> directed using the above URL to /food-bils application
> which is deployed on Tomcat
>
>   Kindly suggest what is the issue in the below redirection rule, as
> currently the  webpage is coming as blank
>
>
>   <VirtualHost *:10215>
>  RewriteEngine On
> RewriteRule ^/(a*)$ /food-bils

This regex doesn't make any sense.  To match /, use ^/$. You probably
need the [PT] flag too.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message