Re: Aliasing file whose requests are proxied

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

 



Thanks Eric for your input.
It really worked..

With Regards,
Venkatesh

On Thu, Feb 3, 2022 at 9:51 PM Eric Covener <covener@xxxxxxxxx> wrote:
On Thu, Feb 3, 2022 at 11:15 AM alchemist vk <alchemist.vk@xxxxxxxxx> wrote:
>
> Hi All,
>   I have set of url which needs to proxied and its working fine. Below is the configuration of the same.
> ProxyPassMatch ^/(abcd) unix:/run/testserver/http.socket|http://localhost .
> Here any request which starts with abcd are getting proxied to testserver service and content getting served fine as expected.
>
> But I have one URL '/abcd/base/content.yaml' which needs to served statically instead of routing it to testserver service. But somehow, I am not able to serve it statically and always getting 404.
> Tried as below but not worked:
> Alias " /abcd/base/content.yaml  " "/usr/local/www/abcd/base/content.yaml"  .

Before the proxypassmatch: ProxyPass /abcd/base/content.yaml !

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