[pmwiki-users] Re: pmwiki-users Digest, Vol 3, Issue 14

Patrick R. Michaud pmichaud at pobox.com
Fri Sep 2 14:55:53 CDT 2005

On Fri, Sep 02, 2005 at 11:26:37AM -0700, Rene Visco wrote:
> Regarding the links to Microsoft Word files using Intermap links work 
> great, however for Mac clients, it doesn't work.  
> ...
> If I copy and paste the file location in Safari, it worked.  
> I updated the localmap.txt file and use the file location.  The links 
> just won't enable the downloading of the doc file.   

Yes, I was a little afraid of that.  Many browsers (including, notably,
Firefox), refuse to honor file:/// urls that come from within a web page,
although if you type the file:/// url directly into the address bar
it works fine.  

In Firefox there's a setting that disables this, but I haven't been
able to find an equivalent for Safari.

Let's try a different approach...

Is there any chance that the files you want to access could be made
accessible via http:// over the local network, instead of just
through the mounted filesystems?

Would it be possible for your webserver administrator (whoever
is in charge of the IIS that is running PmWiki) to define a url
alias that maps to the Distributions/ directory?  I'm not familiar
with the steps needed to do this in IIS, but in Apache one would do

    Alias /Distributions/   /path/to/Distributions

If this could be done, then you could just put into localmap.txt:

    Instruction    http://yourserver/Distributions/Public/Instruction/

and Instruction:testfile.txt would work just fine from both PCs and
Macs without any difficulty.


More information about the pmwiki-users mailing list