[Mediawiki-l] Storing or Linking Documents

Jim Wilson wilson.jim.r at gmail.com
Fri Apr 6 15:08:23 UTC 2007


Something to consider: regardless of which (if any) of those options you
pick, the contents of the documents will not be findable via the built in
mediawiki search feature.

Of course, if you already know that, have a solution, or don't care, please
disregard :)

-- Jim

On 4/6/07, Ian Smith <ismith at good.com> wrote:
>
> Dave Sigafoos:
> >
> > Thanks for that.   I didn't mention all the bits I had read and FAQ
> was
> > one of those items.  I believe we tried this but will check with the
> > other leader when they get in.
>
> But as I said, you may find the browser ignores file:///// links anyhow,
> for security.
>
> > You mentioned ..
> > >This is a tricky thing to fix, as many browsers will ignore these
> links
> > anyway; your best bet is to place the files somewhere the web server
> (or
> > some web server) can see them, and then use http: links rather than
> > file: links.
> >
> > If these files are on the server then http will be able to see them?
> > And launch correctly?  Not sure I understand this but will look at it.
>
> If you upload the files into the Wiki then you can link to them with
> internal links.
>
> If you place them under a different directory under your web server's
> document root then linking to them with http:// should work, and they
> should download/launch like any docs off the net.  So if your Wiki
> address is http://myserver/mediawiki/Main_Page, and it lives in
> c:\Web_Server\mediawiki, then you could place a document in
> c:\Web_Server\files\Stuff.doc, and link to it as
> http://myserver/files/Stuff.doc.
>
> Or place them on another web server, same deal.
>
> If your files have to live somewhere else on your system, then you
> should be able to make your web server include them in its virtual tree.
> For example, I have files in d:/CodeView that I want to make available
> via http:// links, and my http.conf contains this:
>
>     # CodeView directory.
>     Alias /CodeView D:/CodeView
>     <Directory "D:/CodeView">
>        Options Indexes FollowSymLinks Includes
>        AllowOverride All
>        Order allow,deny
>        Allow from all
>     </Directory>
>
> and I can access them as http://myserver/CodeView/...
>
> Cheers,
>
> Ian
>
> (Seems like you're treading the same path I did... ;-)
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list