
Hello, I have set up a Phpwiki using my Suse Linux Box on the company lan and using Apache, Php, MySql using the code from the Phpwiki site. I've manage to get it all going quite nicely many of the staff are keen to use it as a collaborative documentation site for keeping each other informed of the latest technical information available or the gotcha's you find working with different manufacturers equipment. I've got the linking to other pages, webpages and email addresses working fine. What I was know wanting to know was how to link to various documents etc we might have on our servers. It's an MS Active directories network. I can link to documents I put on the webserver easily enough but what about P:\Library\Electrical\Transpower\Standards\ABC.pdf Any hints appreciated. Chris -- http://homepages.maxnet.co.nz/dusky/ ICQ: 213449133 Jabber: cmoman1(a)jabber.org Jabber: cmoman1(a)jabber.meta.net.nz Yahoo: cmoman1

Do you mean a link like <a href="file:///p:/Library/Electrical/Transpower/Standards/ABC.pdf">ABC document</a> Chris O'Halloran wrote:
Hello,
I have set up a Phpwiki using my Suse Linux Box on the company lan and using Apache, Php, MySql using the code from the Phpwiki site.
I've manage to get it all going quite nicely many of the staff are keen to use it as a collaborative documentation site for keeping each other informed of the latest technical information available or the gotcha's you find working with different manufacturers equipment.
I've got the linking to other pages, webpages and email addresses working fine. What I was know wanting to know was how to link to various documents etc we might have on our servers. It's an MS Active directories network.
I can link to documents I put on the webserver easily enough but what about
P:\Library\Electrical\Transpower\Standards\ABC.pdf
Any hints appreciated.
Chris

Yeah, that's what you would do in HTML but in Phpwiki, an external link is like [ABC | http://your.domain/ABC.pdf ] the pipe symbol tells the Phpwiki that a link is following. I do have an option as administrator to allow html in the Wiki so I might be able to do it as you've shown but I just wondering if I could do with the Phpwiki "short hand" On Monday 14 November 2005 11:13, Simon Annear wrote:
Do you mean a link like
<a href="file:///p:/Library/Electrical/Transpower/Standards/ABC.pdf">ABC document</a>
Chris O'Halloran wrote:
Hello,
I have set up a Phpwiki using my Suse Linux Box on the company lan and using Apache, Php, MySql using the code from the Phpwiki site.
I've manage to get it all going quite nicely many of the staff are keen to use it as a collaborative documentation site for keeping each other informed of the latest technical information available or the gotcha's you find working with different manufacturers equipment.
I've got the linking to other pages, webpages and email addresses working fine. What I was know wanting to know was how to link to various documents etc we might have on our servers. It's an MS Active directories network.
I can link to documents I put on the webserver easily enough but what about
P:\Library\Electrical\Transpower\Standards\ABC.pdf
Any hints appreciated.
Chris
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
-- http://homepages.maxnet.co.nz/dusky/ ICQ: 213449133 Jabber: cmoman1(a)jabber.org Jabber: cmoman1(a)jabber.meta.net.nz Yahoo: cmoman1

* Chris O'Halloran <chris.ohalloran(a)maxnet.co.nz> [2005-11-12 00:10]:
I can link to documents I put on the webserver easily enough but what about
P:\Library\Electrical\Transpower\Standards\ABC.pdf
You mean you actually want to the file on the visitor's harddrive? In that case you need to allow file: links – not sure how you do that, but it’s possible. Then you would write something like: [ABC spec | file://P:/Library/Electrical/Transpower/Standards/ABC.pdf] (Note the forward slashes.) Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>

Thanks for the feedback. In reply to your question regarding the vistor's harddrive, I mean the network to which we (ie the company Lan) are all connected to. Regarding the forward slashes, what do you put when you are in a Microsoft network that uses backward slashes? Is there any convention on how to handle this? I am going to try enabling embedding HTML into the Wikipages. But was rather hoping for a simpler solution as the whole idea of a Wiki in part is to provide easy editing access to visitors to the site. Cheers and thanks for the feedback, Chris On Monday 14 November 2005 12:45, A. Pagaltzis wrote:
* Chris O'Halloran <chris.ohalloran(a)maxnet.co.nz> [2005-11-12 00:10]:
I can link to documents I put on the webserver easily enough but what about
P:\Library\Electrical\Transpower\Standards\ABC.pdf
You mean you actually want to the file on the visitor's harddrive?
In that case you need to allow file: links – not sure how you do that, but it’s possible. Then you would write something like:
[ABC spec | file://P:/Library/Electrical/Transpower/Standards/ABC.pdf]
(Note the forward slashes.)
Regards,
-- http://homepages.maxnet.co.nz/dusky/ ICQ: 213449133 Jabber: cmoman1(a)jabber.org Jabber: cmoman1(a)jabber.meta.net.nz Yahoo: cmoman1

On 11/14/05, Chris O'Halloran <chris.ohalloran(a)maxnet.co.nz> wrote:
Thanks for the feedback.
In reply to your question regarding the vistor's harddrive, I mean the network to which we (ie the company Lan) are all connected to.
Another option would be to mount the network drive (e.g. P:) on your Linux box using Samba file system so it appears to be part of the local file system. Newer versions of Linux call it CIFS from memory (which is actually a Microsoft name - common Internet file system). Have a look on the Wiki for more information or google on it. Ian -- Ian McDonald http://wand.net.nz/~iam4 WAND Network Research Group University of Waikato New Zealand

Chris O'Halloran wrote:
Thanks for the feedback.
In reply to your question regarding the vistor's harddrive, I mean the network to which we (ie the company Lan) are all connected to.
You need to set ALLOWED_PROTOCOLS to include 'file' in config/config.ini.
Regarding the forward slashes, what do you put when you are in a Microsoft network that uses backward slashes? Is there any convention on how to handle this?
You are using a web browser; they talk forward slashes, no matter what OS you are on. Try file://C:/autoexec.bat in IE, for example.
I am going to try enabling embedding HTML into the Wikipages. But was rather hoping for a simpler solution as the whole idea of a Wiki in part is to provide easy editing access to visitors to the site.
Aristotle's example should work if you alter the line as above. Craig

Thanks for that tip regarding the allowed protocols. In both Firefox and Internet Explorer they both now register as links. However it seems only IE know how to open the document. I figure that is a setting within Firefox in regard to MIME types. Thanks to the others that have helped to resolve this one. Simple in the end and if had had my eye out for the config file, it was reasonable obvious. It just that sometimes it doesn't seem obvious to find the answer in the config file. :P Thanks again, Chris On Monday 14 November 2005 15:55, Craig Box wrote:
Chris O'Halloran wrote:
Thanks for the feedback.
In reply to your question regarding the vistor's harddrive, I mean the network to which we (ie the company Lan) are all connected to.
You need to set ALLOWED_PROTOCOLS to include 'file' in config/config.ini.
Regarding the forward slashes, what do you put when you are in a Microsoft network that uses backward slashes? Is there any convention on how to handle this?
You are using a web browser; they talk forward slashes, no matter what OS you are on. Try file://C:/autoexec.bat in IE, for example.
I am going to try enabling embedding HTML into the Wikipages. But was rather hoping for a simpler solution as the whole idea of a Wiki in part is to provide easy editing access to visitors to the site.
Aristotle's example should work if you alter the line as above.
Craig
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
-- http://homepages.maxnet.co.nz/dusky/ ICQ: 213449133 Jabber: cmoman1(a)jabber.org Jabber: cmoman1(a)jabber.meta.net.nz Yahoo: cmoman1

Chris O'Halloran wrote:
Thanks for that tip regarding the allowed protocols.
In both Firefox and Internet Explorer they both now register as links. However it seems only IE know how to open the document. I figure that is a setting within Firefox in regard to MIME types.
http://kb.mozillazine.org/Links_to_local_pages_don't_work Craig

Thanks again for that tip. That added functionality will really make this Wiki useful. Thanks so much. Cheers, Chris On Tuesday 15 November 2005 11:02, Craig Box wrote:
Chris O'Halloran wrote:
Thanks for that tip regarding the allowed protocols.
In both Firefox and Internet Explorer they both now register as links. However it seems only IE know how to open the document. I figure that is a setting within Firefox in regard to MIME types.
http://kb.mozillazine.org/Links_to_local_pages_don't_work
Craig
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
-- http://homepages.maxnet.co.nz/dusky/ ICQ: 213449133 Jabber: cmoman1(a)jabber.org Jabber: cmoman1(a)jabber.meta.net.nz Yahoo: cmoman1

* Chris O'Halloran <chris.ohalloran(a)maxnet.co.nz> [2005-11-14 03:50]:
In reply to your question regarding the vistor's harddrive, I mean the network to which we (ie the company Lan) are all connected to.
Ah, okay. Well, that link I showed would work then.
Regarding the forward slashes, what do you put when you are in a Microsoft network that uses backward slashes? Is there any convention on how to handle this?
You use forward slashes. That’s how URLs work. The browser translates them as appropriate, if necessary. (Gory technical details can be found in “The Bizarre and Unhappy Story of ‘file:’ URLs,” for those who are interested. <http://blogs.msdn.com/freeassociations/archive/2005/05/19/420059.aspx>) Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>
participants (5)
-
A. Pagaltzis
-
Chris O'Halloran
-
Craig Box
-
Ian McDonald
-
Simon Annear