0

Im making a small application that opens my own files that contains log data. I have a log viewer for these files but would like to link to them from my intranet. Im looking to create an url that looks like this:

log://log/id

Where log and id is the path to the file from the net to open. How do I accomplish this. Should the changes be in my application or in the IIS that serves the page (and thus the link)?

cheers,

Brian Hvarregaard
  • 3,921
  • 6
  • 39
  • 75

2 Answers2

0

I believe this can be done fairly easily for IE, but I am not sure about other browsers.

See this and this on SO.

Community
  • 1
  • 1
Oded
  • 477,625
  • 97
  • 867
  • 998
0

To implement a custom scheme is probably going to require installation/registration at the OS level, for example in the registry for windows (allow user-level may suffice). For the sake of simplicity, http would probably the sensible default unless you really, really need something custom.

MSDN discusses this for windows here: http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

Marc Gravell
  • 976,458
  • 251
  • 2,474
  • 2,830