marcardar / transcriptstudio-isha

Automatically exported from code.google.com/p/transcriptstudio4isha
0 stars 0 forks source link

allow jetty to serve aliased files #144

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To enable jetty to serve media files that are referenced by symlinks we
need to edit the jetty.xml configuration file and change the following line:

 <Set class="org.mortbay.util.FileResource" name="checkAliases"
type="boolean">true</Set>

and set the value to "true" instead.

This should be done in the build.sh script

(Apparently this is a greater threat to security)

If this is not done then we get errors like this when we try and access a
media file on the server:

24 Jun 2009 11:43:46,219 [P1-8] WARN  (ResourceCache.java
[getResource]:252) - Alias request of
'file:/mnt/disk2/lto/media/proxy/video/video-k-97_proxy.mp4' for
'file:/opt/exist/webapp/ts4isha/media/proxy/video/video-k-97_proxy.mp4' 

Original issue reported on code.google.com by swami.ke...@gmail.com on 24 Jun 2009 at 11:47