https://bz.apache.org/bugzilla/show_bug.cgi?id=65600

            Bug ID: 65600
           Summary: Regression in mod_rewrite proxy via socket
           Product: Apache httpd-2
           Version: 2.4.49
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: ch...@modd.com.au
  Target Milestone: ---

Problem seems to be related to mod_proxy since latest update, something to do
with handling unix socket paths, its showing repeated in access log. eg:

apache49_1  | 127.0.0.1 - - [28/Sep/2021:01:02:52 +0000] "GET
/usr/local/apache2/htdocs/unix:/run/sock/nginx.sock|http://localhost/usr/local/apache2/htdocs/unix:/run/sock/nginx.sock|http:/localhost/usr/local/apache2/htdocs/unix:/run/sock/nginx.sock|http:/localhost/usr/local/apache2/htdocs/unix:/run/sock/nginx.sock|http:/localhost/usr/local/apache2/htdocs/unix:/run/sock/nginx.sock|http:/localhost/usr/local/apache2/htdocs/unix:/run/sock/nginx.sock|http:/localhost:8049/index.html
HTTP/1.1" 403 199

This can cause path to overflow

Repoduce

Setup Apache with default configuration, and enable mod_rewrite and mod_proxy.

Use .htaccess file to Rewrite requests to http over unix socket.

See example repo here with example of working and broken using docker versions
of apache 2.4.48 and 2.4.49.

https://github.com/cseufert/apache-proxy-test

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to