Gossamer Forum
Home : Products : Gossamer Links : Discussions :

mms:// protocal problem

Quote Reply
mms:// protocal problem
Dear all,

I tired to add some media file link (i.e.mms://domain/filename). I have already changed links.def and it allow me to add.

But the problem is, when I click jump.cgi, I always have the file not found error.

I can see after I click jump.cgi, the link become http://mms://domain/filename, instead of mms://domain/filename.

Can anyone tell me how can I solve the problem?

Thanks a lot.

Quote Reply
Re: mms:// protocal problem In reply to
Hi,

Edit jump.cgi line 85:

($goto =~ m,^(https?|ftp|mailto|news)://,) or ($goto = "http://$goto");

to:

($goto =~ m,^(\w+)://,) or ($goto = "http://$goto");

and it should work. I'll make this change for the next release.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: mms:// protocal problem In reply to
Dear Alex,

Thanks for your reply.

But it still can't get it work.

The final link become http://pathtocgidirectory/mms://domain/filenmae

How can I sove it?

Quote Reply
Re: mms:// protocal problem In reply to
You could try using $goto = $rec->{'URL'}. May be that would work.

Regards,

Eliot Lee
Quote Reply
Re: mms:// protocal problem In reply to
The problem is the same. It point to the cgi path and then to the mms path.

Quote Reply
Re: mms:// protocal problem In reply to
I think the following is also related to your problem.

Try this thread:

http://www.gossamer-threads.com/...ew=&sb=&vc=1


Eraser:
Insight Eye
http://www.insighteye.com/
Quote Reply
Re: mms:// protocal problem In reply to
Thanks for your suggestion. But the result is just the same.

Quote Reply
Re: mms:// protocal problem In reply to
Hi,

It sounds like the script is outputing the proper information:

Location: mms://....

But your browser doesn't understand that, and can't redirecto to that (just like it can't redirect to mailto: URL's).

I don't think this is a Links SQL issue..

Cheers,

Alex

--
Gossamer Threads Inc.