AH02808 when using long (> 96 chars) ProxyPass worker name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache2 Web Server |
Fix Released
|
Critical
|
|||
apache2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Won't Fix
|
Medium
|
Unassigned | ||
Jammy |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Note: This is related to https:/
When using a ProxyPass worker name whose length is greater than 96 chars, one will see the following warning on apache2's logs:
Mar 14 21:27:49 test-apache2 systemd[1]: Starting The Apache HTTP Server...
Mar 14 21:27:49 test-apache2 apachectl[1763]: [Mon Mar 14 21:27:49.850040 2022] [proxy:error] [pid 1763:tid 140217439254400] AH02808: Alert! worker name (https:/
Mar 14 21:27:49 test-apache2 systemd[1]: Started The Apache HTTP Server.
Changed in apache2: | |
importance: | Unknown → Critical |
status: | Unknown → Fix Released |
Changed in apache2 (Ubuntu Focal): | |
status: | Triaged → Won't Fix |
Changed in apache2 (Ubuntu Jammy): | |
status: | Triaged → Won't Fix |
tags: | removed: server-triage-discuss |
Hi.
I'm tring to change apache from 2.2 to 2.4.2.
And apachectl reports there is error in my configuration file about proxypass.
----- apache24/ bin/apachectl -t apache24/ conf/httpd. conf:101 apache24/ conf/httpd. conf: localhost: 3128/VirtualHos tBase/http/ www.hogefuga. com:80/ fugafugafile/ VirtualHostRoot /++resource+ +Products. HOGEHOGE. public. stylesheets) too long
# /usr/local/
AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/
AH00526: Syntax error on line 615 of /usr/local/
ProxyPass worker name (http://
-----
I read some sorce files and found there is length limit in worker name.
In mod_proxy.h:305 there is define of length of proxy worker name.
---- MAX_NAME_ SIZE 96
#define PROXY_WORKER_
----
I think in some casees this size is not enough.
In my case (legth is 177 chars.), I doubled this number and works fine.
Would you please increase this size.
Thank you.