cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qMax <q...@mediasoft.ru>
Subject Re[3]: Handle Non-HTML Files
Date Fri, 20 Aug 2004 11:42:22 GMT
Friday, August 20, 2004, 6:08:36 AM, gReK@warsztat.pac.pl wrote:

gRe> Yeah, it's simple, just use something like this:
gRe>   <map:match pattern="uploaded/**">
gRe>     <map:read src="uploaddir/{1}"/>
gRe>   </map:match>

gRe> It will work properly, but there is a problem with mime-type. I think, there is
gRe> no good method, just do matches for common types (and there set mime-type) and
gRe> use above match.

If i recall correctly, this common matching could be configured in
cocoon/WEB-INF/web.xml ?
Or what is purpose of those <mime-mapping>s ?



-- 
 qMax


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


Mime
View raw message