Are all of these files being proxied by the laszlo server, or only
the .lzx files? Perhaps the answer to that question is a hint.
On 2007-06-11, at 09:41 EDT, Vincent de Phily wrote:
Hi,
I'm have set up the "my-apps" folder to be a symlink to the real
folder (for
various reasons, including easily testing my code on various
versions of
laszlo).
This works fine for *.lzx files but not for anything else. I can't
load any
xml, jpg, or whatever (wether loading from laszlo or directly from the
browser). Same file location and permissions. It works if I copy
the files
directly in there, with no symlink in the way.
Somebody else opened a bug about it but got no usefull reply :
http://www.openlaszlo.org/jira/browse/LPP-4031
I'm using tomcat 6.0.13, and laszlo 4 (SOLO mode, "dev kit" war file).
I tried setting up the "allowLinking" attribute mentioned in
various places
(either in the global context.xml, web.xml, or the laszlo web.xml).
I tried
re-declaring and re-mapping the "default" servlet in laszlo's
web.xml. I
tried assigning the issue to my sysadmin colleagues. Nothing worked.
I actually found a workaround, but it is ugly and linux-specific (no
relationship between these two attributes :p) : instead of using
symlinks,
I "mount --bind" the folders. This will do for a little while, but
I can't
use it on the final system.
So... Any ideas ?
Thanks.
--
Vincent de Phily