You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tushar Chavan <tu...@hotmail.com> on 2011/04/16 15:20:01 UTC
[users@httpd] User friendly URL creation
Hi Experts,
We have a below situation.
End user will type below url.
www.apache_host.com will need to be redirected to http://webdispacther_host:80/irj
Now when I use below directive
ProxyPreserveHost on
Proxypass / http://webdispacther_url:80/irj
ProxypassReverse / http://webdispacther_url:80/irj
but when I use below configuration,it works fine but we don't want end user to type www.apache_host.com/irj
ProxyPreserveHost on
Proxypass /irj http://webdispacther_url:80/irj
ProxypassReverse /irj http://webdispacther_url:80/irj
I am also trying to use mod_rewrite , but its going in infinite loop.Can anybody have a hint for this.
Best Regards,
Tushar.
RE: [users@httpd] User friendly URL creation
Posted by Tushar Chavan <tu...@hotmail.com>.
Thanks .
> Date: Sat, 16 Apr 2011 09:44:55 -0400
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] User friendly URL creation
>
> > but when I use below configuration,it works fine but we don't want end user
> > to type www.apache_host.com/irj
> >
> > ProxyPreserveHost on
> > Proxypass /irj http://webdispacther_url:80/irj
> > ProxypassReverse /irj http://webdispacther_url:80/irj
>
> RedirectMatch ^/$ http://www.apache_host.com/irj
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
Re: [users@httpd] User friendly URL creation
Posted by Eric Covener <co...@gmail.com>.
> but when I use below configuration,it works fine but we don't want end user
> to type www.apache_host.com/irj
>
> ProxyPreserveHost on
> Proxypass /irj http://webdispacther_url:80/irj
> ProxypassReverse /irj http://webdispacther_url:80/irj
RedirectMatch ^/$ http://www.apache_host.com/irj
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org