You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2004/01/14 11:11:40 UTC

Serving static resources improved

Hi Lenya users,

thanks to Gregor, most resource mime-types are now
served "out of the box" by the Lenya core.

If you want to use a resource from all areas, you
have to put it in

     /resources/shared

I.e., if you request:

     http:/.../mypub/authoring/images/foo.png

and one of these files exist:

     file:/.../mypub/resoures/authoring/images/foo.png
     file:/.../mypub/resoures/shared/images/foo.png

it is served automatically by Lenya.

Have fun,
-- Andreas


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


Re: Serving static resources improved

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Wed, 2004-01-14 at 11:11, Andreas Hartmann wrote:
> Hi Lenya users,
> 
> thanks to Gregor, most resource mime-types are now
> served "out of the box" by the Lenya core.
> 
> If you want to use a resource from all areas, you
> have to put it in
> 
>      /resources/shared
> 
> I.e., if you request:
> 
>      http:/.../mypub/authoring/images/foo.png
> 
> and one of these files exist:
> 
>      file:/.../mypub/resoures/authoring/images/foo.png
>      file:/.../mypub/resoures/shared/images/foo.png
> 
> it is served automatically by Lenya.

Cool. Thanks to Gregor.


-- 
Rolf Kulemann

Klein bottle for sale ... inquire within.


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


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