rejetto forum
Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: JohnK on October 23, 2008, 02:02:29 PM
-
Hi.
I tried the the RAWR-Template and everything works fine, even the mp3-preview-player. But when I used stunnel to secure the connection, HFS still work including downloads, but the mp3-preview-player doesn't work anymore. The player receives no data. Any solutions? Thanks.
-
When HFS supports SSL itself even I will use it, so this will have to be fixed in the next release. I am taking note of all the issues.
Take a look in the javascript files... there might be a hard coded 'http' in there somewhere.
-
to fix this i replaced:
function setRAWRBox(target,file) {
setName(file);
file = file.replace('+','%2B').replace('&','%26');
with:
function setRAWRBox(target,file) {
setName(file);
file = file.replace('+','%2B').replace('&','%26').replace('http','https');
this was in the rawr_default\code\rawr_previewbox.js, lines 106-108.
the only problem with this is that it then breaks the http mp3-streaming (however, if you're already using HFS with stunnel i assume this won't affect you much, as there is no point in not using a secure connection for everything).
-
did you try the "urls starting with https instead of http" ?