Moving francotoile2.uvic.ca to francotoile.uvic.ca caused problem with media paths
Posted by jamie on 09 Aug 2011 in Notes
The movies at http://francotoile2.uvic.ca used as a base URL: http://francotoile.uvic.ca/media/
When the eXist site was switched to francotoile.uvic.ca, however, those paths became invalid. So, I updated the movie player to use the 'real' base URL on lettuce: http://lettuce.tapor.uvic.ca/~florevid/media/
This is a decent temporary solution, but I will experiment with putting the media files on the Pear file system and then using an XQuery script to stream the videos, rather than using lettuce.
***per Jamie's idea, how about a mod_proxy def. like:
http://hcmc.uvic.ca/$projName that resolves to a /home1t/$projName/media/ folder
so projects serving media can use a URL like:
http://hcmc.uvic.ca/florevid/media/somevideo.mp4