Hi.
I was looking at this feature request,
and was wondering if we should change the proxypass command
to something like a 'Location' where can set multiple options
or if we should possibly make the ProxyPass sit in the location
it is r-proxying
eg.
<location /foo>
ProxyPass http://www.foo_bar/
</location>
That way we could add other settings for the paritcular r-proxy
like different Timeouts for different r-proxies
and we could make it easier for other people to customize r-proxy later
on (on a individual basis)
..Ian
--- Begin Message ---
>Number: 7864
>Category: mod_proxy
>Synopsis: ProxyPass needs another argument
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Wed Jun 13 12:00:03 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Release: 1.3.12
>Organization:
apache
>Environment:
RedHat Linux 6.2, kernel 2.2.19
>Description:
We use an apache server in front of some other web servers, mostly for logging
in a uniform way. We use proxypass te pass on requests to the other web servers.
This assumes however that the other server has a different name than the apache
server:
<VirtualHost ..>
ServerName front.server.dom
ProxyPass / http://back.server.dom/
</VirtualHost>
For some purposes it would be convenient to do:
<VirtualHost ...>
ServerName front.server.dom
ProxyPass / http://front.server.dom/ back.server.dom
</VirtualHost>
This would allow the back.server.dom machine to have front.server.dom as a
virtual host as well.
>How-To-Repeat:
>Fix:
Please, add the suggested optional host parameter.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]
--- End Message ---