Re: Reverse Proxy Basic Question

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

 



Can't really understand where you get the idea of using "?" in the urls like that.

Anyways your first proxypass is incorrect, you always need to match slashes, like:

ProxyPass / http://something.com/ or
ProxyPass / http://something.com/something/

El Wed Feb 04 2015 at 6:39:22 PM, Chris Arnold (<carnold@xxxxxxxxxxxxxxxxxxx>) escribió:

 

So I have been trying to better understand mod_proxy, specifically, reverse proxy on apache 2.4.10.

I have read http://httpd.apache.org/docs/current/mod/mod_proxy.html to better understand but I still have a basic question.

 

In a reverse proxy directive/statement:

ProxyPass / http://something.com/something

The "/" in ProxyPass / is what I am trying to understand at the moment. So, the "/" refers to the root of an address/domain? Like http://something.com? So the statement above would return http://something.com/something?

And this statement:

ProxyPass /foo http://something.com/foo

means, a user types in their browser http://somehting.com/foo and the above statement would return http://something.com/foo?

 

Is this correct?


[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