cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Neuenschwander" <a...@andi.ch>
Subject Different Stylesheets for different Domains with C1
Date Mon, 13 Nov 2000 21:10:37 GMT
Hello Everyone,

I'd like to do the following:

www.domain1.com/index.xml

www.domain2.com/index.xml

In case that www.domain1.com and www.domain2.com are virtual servers.

Both url's points to the same index.xml file on the webserver.
But the .html output from Cocoon uses different stylesheets depending
on the requesting domain.

Does anybody know how to do this with C1?


I Know that I could do it with a query parameter like this:

www.domain1.com/index.html?stylesheet=domain1.xsl
www.domain2.com/index.html?stylesheet=domain2.xsl

But that's really not how I'd like to do it.

Is there such a feature in C1? (I couldn't find it, but this could
be a useful feature)


Any hints, comments?


- Andi




Mime
View raw message