cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9525] New: - HostSelector cannot select between more than 7 different hosts
Date Thu, 30 May 2002 16:37:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9525>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9525

HostSelector cannot select between more than 7 different hosts

           Summary: HostSelector cannot select between more than 7 different
                    hosts
           Product: Cocoon 2
           Version: 2.0.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: andi@andi.ch


The sitemap component HostSelector cannot select between more than 7 different 
hosts.

The eight host in the list will always return a 404 page not found error.

Maybe this happens only if I try to select a different sub-sitemap with
the host selector as in the example below.

Example Sitemap Config:

<map:selector name="host" src="org.apache.cocoon.selection.HostSelector">
   <host name="host1" value="host1.domain.com"/>
   <host name="host2" value="host2.domain.com"/>
   ...
   <host name="host7" value="host7.domain.com"/>
   <host name="host8" value="host8.domain.com"/>
</map:selector>

<map:select type="host">
   <map:when test="host1">
      <map:mount uri-prefix="" src="/www/host1/sitemap/" check-reload="yes"/>
   </map:when>
   <map:when test="host2">
      <map:mount uri-prefix="" src="/www/host2/sitemap/" check-reload="yes"/>
   </map:when>
   ...
   <map:when test="host7">
      <map:mount uri-prefix="" src="/www/host7/sitemap/" check-reload="yes"/>
   </map:when>
   <!-- This host always returns Error 404 -->
   <map:when test="host8">
      <map:mount uri-prefix="" src="/www/host8/sitemap/" check-reload="yes"/>
   </map:when>
</map:select>

Because HostSelector extends NamedPatternsSelector this Bug could effect
also other sitemap functions.


Regards,

   Andi

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message