cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@informatik.tu-darmstadt.de>
Subject Re: <mount>ing, but with shared sitemap?
Date Fri, 20 Jun 2003 15:57:23 GMT
Dominic Chambers wrote:
> Almost, but I need to switch based on host name. Perhaps if I could make
> the result of the host name comparison a variable, like {1} is for
> wildcard matches, that would work perfectly. I just tried this
> experiemnt:

Try (Cocoon >= 2.0.4)

  <map:pipeline>
    <map:match pattern="">
        <map:redirect-to uri="{request:serverName}/test.html"/>
    </map:match>
  </map:pipeline>

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


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


Mime
View raw message