4

What is the difference between a ProxyPass directive:

ProxyPass         /     http://localhost:8080/ nocanon
ProxyPassReverse  /     http://localhost:8080/

And a <Proxy> directive:

<Proxy http://localhost:8080/*>
    Order deny,allow
    Allow from all
</Proxy>

In Apache configuration files?

I often see these two in the same virtualhost section, an I am not sure what is the difference.

Adam Matan
  • 13,194
  • 19
  • 55
  • 75

1 Answers1

5

With the ProxyPass (link) directive, you define a proxy in the first place. The <proxy ...> (link) section can contain processing directives for the proxied content. This is something you can learn yourself by just reading the docs, hence the downvotes.

Sven
  • 98,649
  • 14
  • 180
  • 226
  • 1
    Many questions can be answered by "just reading the docs". I think that if the question is useful for others and uses accurate technical terms, it should not be downvoted. – Adam Matan Aug 03 '14 at 07:46
  • 1
    I disagree. Reading the docs is the professional first step. If this answers the question, it's not useful. Also "Does not show any research effort" is one of the principal downvote reasons, it's even the "alt text" for the downvote link/arrow. – Sven Aug 03 '14 at 07:53
  • Is there a link to specific place which answers this question? If so, I think you are right. If not, and understanding this issue requires synthesising a few sources, I think that the question is valid. – Adam Matan Aug 03 '14 at 08:26
  • +1 I disagree with your downvote, but thanks for the answer. – Adam Matan Aug 03 '14 at 08:48