Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-620

ProxyPass worker name (http://localhost:3128/...) too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JWS 3.0.3 SP1 GA
    • httpd
    • None

    Description

      This is a clone of https://bz.apache.org/bugzilla/show_bug.cgi?id=53218
      The below is the copy from the problem description of the original bug 53218.

      ------
      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.
      ------

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jclere Jean-Frederic Clere
              rhn-support-hokuda Hisanobu Okuda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: