httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53218] New: ProxyPass worker name (http://localhost:3128/...) too long
Date Fri, 11 May 2012 01:32:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53218

          Priority: P2
            Bug ID: 53218
          Assignee: bugs@httpd.apache.org
           Summary: ProxyPass worker name (http://localhost:3128/...) too
                    long
          Severity: normal
    Classification: Unclassified
                OS: Solaris
          Reporter: mu1059@gmail.com
          Hardware: Sun
            Status: NEW
           Version: 2.4.1
         Component: mod_proxy
           Product: Apache httpd-2

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.

-----
# /usr/local/apache24/bin/apachectl -t
AH00548: NameVirtualHost has no effect and will be removed in the next release
/usr/local/apache24/conf/httpd.conf:101
AH00526: Syntax error on line 615 of /usr/local/apache24/conf/httpd.conf:
ProxyPass worker name
(http://localhost:3128/VirtualHostBase/http/www.hogefuga.com:80/fugafugafile/VirtualHostRoot/++resource++Products.HOGEHOGE.public.stylesheets)
too long
-----

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.

----
#define PROXY_WORKER_MAX_NAME_SIZE      96
----

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message