httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40439] New: - Error message about "ProxyPass with path on <Location>" is wrong
Date Thu, 07 Sep 2006 15:47:04 GMT
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: bugs@httpd.apache.org
        ReportedBy: serai@lans-tv.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message