RE: ProxyPass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think this simplification is true, but only if Tony doesn't have a
kind of "garbage collector" "forbidden" last rule.
I'm using similar config, but the last rule is always

RewriteRule "*" ... Forbidden ([F])

... Which makes it mandatory to list all the "/webx" rules before...

Or maybe something like:

ProxyPass /web([1-3]) http://other-server/web$1

About the proxypass reverse, 
ProxyPassReverse / http://other-server/

Should be enough indeed...

Olivier

Olivier CHIROUZE
I&0 Infrastructure
Volvo Information Technology
 

> -----Original Message-----
> From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of 
> Joshua Slive
> Sent: 29 January 2007 21:46
> To: users@xxxxxxxxxxxxxxxx; theal@xxxxxxxxxxxx
> Subject: Re:  ProxyPass
> 
> On 1/29/07, Tony Heal <theal@xxxxxxxxxxxx> wrote:
> 
> > What I would rather do if possible is for each virtual host 
> use only 2 line
> > something like this
> >
> >
> >
> > ProxyPass /$1 http://other-server/$1
> >
> > ProxyPassReverse /$1 http://other-server/$1
> 
> > Is this possible?
> > If so how?
> > If not is there a better alternative for what I am currently doing.
> 
> Hmmm... How exactly is the target config supposed to differ from:
> ProxyPass / http://other-server/
> ProxyPassReverse / http://other-server/
> 
> You can do fancy stuff with RewriteRule and the [P] flag, but it
> doesn't seem necessary in this case.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux