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

[Bug 62422] New: Allow ProxySet to be used inside <If> expr.


            Bug ID: 62422
           Summary: Allow ProxySet to be used inside <If> expr.
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: raphael.droz@xxxxxxxxx
  Target Milestone: ---


<VirtualHost *:80>
  <Proxy "foo">
  <If "%{REQUEST_METHOD} == 'POST'">
    ProxySet "foo" timeout=10
  <If "%{REQUEST_METHOD} == 'GET'">
    ProxySet "foo" timeout=2

$ curl -X POST / # should timeout after 10 seconds
$ curl -X GET  / # should timeout after 2 seconds

$ curl -X POST / # timeout after 2 seconds
$ curl -X GET  / # timeout after 2 seconds

* According to above test, latest ProxySet directive is considered disregarding
the enclosing <If-expr>
* Neither ProxyTimeout nor Proxy are allowed inside <If-expr>
* ProxySet inside <If-expr> inside <Proxy> won't work either (proxy URL is
mandatory but unknown)

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx