DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40439>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40439

           Summary: Error message about "ProxyPass with path on <Location>"
                    is wrong
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ErrorMessage, PatchAvailable
          Severity: minor
          Priority: P4
         Component: mod_proxy
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When ProxyPass with path on <Location is written, error message should 
be "ProxyPass can not have a path when defined in a location", but "Invalid 
ProxyPass parameter.  Parameter must be in the form 'key=value'".

I confirmed this bug in version 2.2.3, and I think this occurs also in trunk.


I wrote httpd.conf:

<Location /foo>
ProxyPass /test http://example.jp/bar
<Location>

And #apachectl -t .

Error message is:
Syntax error on line 7 of /usr/local/apache2/conf/httpd.conf:
Invalid ProxyPass parameter.  Parameter must be in the form 'key=value'

then I removed that configuration and wrote:

<VirtualHost *:80>
ProxyPass /test http://example.jp/bar keepalive
</VirtualHost>

And #apachectl -t .

Error message is:
Syntax error on line 20 of /usr/local/apache2/conf/httpd.conf:
ProxyPass can not have a path when defined in a location


I think these error message should be reversed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to