On Thu, Sep 11, 2008 at 10:28 AM, Roger Searle <[EMAIL PROTECTED]> wrote:
> Hi, I have a mediawiki installation working really well.  I had the idea to
> have links to one or 2 documents that reside on some machine on the local
> network, that could be accessed from a wiki page. For example (real example)
> someone looking at a wiki article on the payroll software could open a
> document about annual leave that sits in the folder on the computer where
> the payroll software is installed.
> This is not quite the same as a link to a website or to another wiki article
> and I don't see it mentioned in the documentation I have viewed - anyone
> know if or how this can be done, and offer the syntax?

Either:-
a) Put a lightweight http daemon, such as boa or, on the other machine
and access the documents there in the normal way. i.e. Put a link such
as <a href='http://the.other.machine/the/path/to/the/document.html'>The
Document</a> in the wiki article. I don't know the exact syntax to get
to this end result in the Media-Wiki environment, but I'm certain it's
possible. Sorry, you'll have to read it up.


b)
Network mount the directory on the other machine using samba ( or nfs
) onto a directory in the htdocs area of the machine on which your
mediawiki is located, and use a localhost URL.

imho a is the preferred method, but you may need to use b if you have
difficulties installing a web server on the.other.machine

-- 
Sincerely etc.
Christopher Sawtell

Reply via email to