Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-173

Alias max length too low

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.6
    • 1.0.3.GA
    • None
    • None
    • Low

      We have virtual-hosts in server.xml with aliases of more than 40 characters. No problem on the jboss side, but on apache side, mod_cluster fails with the following message : "MEM: Can't read host alias".
      Changing HOSTALIASZ from 40 to 64 (mod_clustersize.h) resolves the problem (see patch #1).

      NB: I had to fix a few "NMAKEmakefile", otherwise it won't compile with Visual Studio 2010 (see patch #2)

        1. alias.patch
          0.6 kB
          Gregory Lardiere
        2. makefile.patch
          1 kB
          Gregory Lardiere
        3. patch.txt
          0.4 kB
          Jean-Frederic Clere

              rhn-engineering-jclere Jean-Frederic Clere
              gregory.lardiere Gregory Lardiere (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: