AH00526 when using long ProxyPass worker name
Bug #1668474 reported by
Brian Morton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache2 Web Server |
Fix Released
|
Critical
|
|||
apache2 (Debian) |
New
|
Undecided
|
Unassigned | ||
apache2 (Ubuntu) |
Fix Released
|
Medium
|
Brian Morton | ||
Trusty |
Won't Fix
|
Medium
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned | ||
Yakkety |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
When using a long ProxyPass worker name such as unix://
A couple of workarounds are available using mod_rewrite, but they do not use connection pooling for the proxy and aren't available for packaged solutions like Virtualmin. The patch from trunk is fairly straightforward.
Changed in apache2: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in apache2 (Ubuntu): | |
assignee: | nobody → Brian Morton (rokclimb15) |
Changed in apache2: | |
status: | Confirmed → Fix Released |
Changed in apache2 (Ubuntu Yakkety): | |
status: | Triaged → Won't Fix |
Changed in apache2: | |
status: | Fix Released → Confirmed |
Changed in apache2: | |
status: | Confirmed → Fix Released |
tags: | added: server-triage-discuss |
Changed in apache2 (Ubuntu Trusty): | |
status: | Triaged → Won't Fix |
tags: | removed: server-triage-discuss |
To post a comment you must log in.
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.