Re: Order of ProxyPass directives

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

 



On Wed, March 6, 2019 16:38, Eric Covener wrote:
>> According to
>> http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypass
>> , rules are processed in order of configuration, so more specific URLs
>> should come first. But requests to http://myserver/somepath/ are going
>> to
>> the second, uwsgi backend - what am I missing?
>
> That ordering refers to the two-argument version of these directives.
> If you enclose them in Location directives, they are going to be
> subject to the order of merging configuration sections. For Location,
> the 2nd stanza essentially replaces the first.
>
> I'd suggest not wrapping them in Locaton.

Thanks a lot, that's done the trick. FWIW, reversing the order of Location
directives does as well - here the last one wins.

Cheers, Til


---------------------------------------------------------------------
To unsubscribe, e-mail: users-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