FS#43551 - [apache] ProxyPass worker name too long error on PROXY_WORKER_MAX_NAME_SIZE with only 96 bytes
Attached to Project:
Arch Linux
Opened by Rafael (rafaelrabelo) - Saturday, 24 January 2015, 00:27 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 28 January 2015, 22:11 GMT
Opened by Rafael (rafaelrabelo) - Saturday, 24 January 2015, 00:27 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 28 January 2015, 22:11 GMT
|
Details
Description:
I get the error ProxyPass worker name (*long url here*) too long When trying to "systemctl start httpd.service", with a url of 99 chars on a ProxyPass diretive. It happens that PROXY_WORKER_MAX_NAME_SIZE on usr/include/httpd/mod_proxy.h is set to 96 bytes (so close!) and is causing the error. I tried to reduce the url lenght, without success, and many parts of my project depend on it. The bug was reported to apache in 2012 https://issues.apache.org/bugzilla/show_bug.cgi?id=53218 and the issue is marked as resolved simple by making the size to 256. I cant get it to work with mod_rewrite because the target server runs on SSL and it is not local. Steps to reproduce: Entry on httpd-vhosts <VirtualHost *:80> ServerName server.com ServerAlias server.com SSLProxyEngine On SSLProxyVerify None SSLProxyCheckPeerCN Off SSLProxyCheckPeerExpire Off ProxyPass / https://myhugeurl/ ProxyPassReverse / https://myhugeurl/ </VirtualHost> and restart (or start) httpd |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Wednesday, 28 January 2015, 22:11 GMT
Reason for closing: Upstream
Wednesday, 28 January 2015, 22:11 GMT
Reason for closing: Upstream
Comment by
Anatol Pomozov (anatolik) - Sunday,
25 January 2015, 03:45 GMT
This is upstream bug so please discuss it there. The
https://issues.apache.org/bugzilla/show_bug.cgi?id=53218
issue is *not* marked as resolved.