httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al <shase...@yahoo.com>
Subject Re: [users@httpd] Couple of questions about rewrite and proxypass
Date Sun, 20 Feb 2011 20:24:23 GMT
Nick,
   what would that RewriteRule coupled with the proxypass do? 
With proxypass you said if my application is there - so 
ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/ 

means when I go on myserver.com/http-bind/ it will redirect me to http:127.0... right? 

--- On Sun, 2/20/11, Nick Kew <nick@webthing.com> wrote:

> From: Nick Kew <nick@webthing.com>
> Subject: Re: [users@httpd] Couple of questions about rewrite and proxypass
> To: users@httpd.apache.org
> Date: Sunday, February 20, 2011, 4:47 AM
> 
> On 19 Feb 2011, at 23:49, Al wrote:
> 
> >  RewriteEngine on
> > 
> >  RewriteRule http-bind/ http://myserver.com/http-bind/
> 
> WTF are you trying to do there?
> 
> > </VirtualHost>
> > ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/ 
> 
> Now that makes sense (if your app is there), though perhaps
> you meant to put it
> inside  the virtualhost.  You may need something
> more, but whatever you need
> it's not mod_rewrite!
> 
> -- 
> Nick Kew
> 
> Available for work, contract or permanent
> http://www.webthing.com/~nick/cv.html
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 


      

---------------------------------------------------------------------
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


Mime
View raw message