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 41137] New: - Apache2.2 mod_proxy do not support wildcard or regular expr
Date Fri, 08 Dec 2006 14:14:48 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=41137>.
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=41137

           Summary: Apache2.2 mod_proxy do not support wildcard or regular
                    expr
           Product: Apache httpd-2
           Version: 2.2-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: zealot0630@gmail.com


I want to forward all jsp file to a tomcat server use mod_proxy_ajp
but proxy do not support regular expression or wildcast

for example:
<Location ~ ^/.*\.jsp$>
    ProxyPass ajp://tomcat/
</Location>

In alias_match function in mod_proxy can not handle regx expr, and it will
return false.


I think it is better to let Location or LocationMatch to do the check path work,
and remove alias_match function.

Let Proxy* command only accept one argument which is real path.

ex:
change
ProxyPass /foo http://example.com/bar
into
<Location /foo>
    ProxyPass http://example.com/bar
</Location>

Then save all mod_proxy conf in per_dir_config, but not module_config like
mod_authz_host.

-- 
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