file protocol doesn't work

Asked by sam pauwels

Intranet links do not work anymore on my ubuntu webserver.

mailto:// links on my html page works
http:// links on my html page works
internal html page links works
But
file:// links won't work.
If I do the test on a windows pc the link works.
but when I upload it to my ubuntu server (linux ubuntu 10.04 server) with apache/php/mysql (as virtual machine in vmware)
then the link doesn't work anymore.

2 months before it ran. No updates were done on the server. Also not on my vmware.
Where else can I look?
Thanks to anyone who can gave me a hint.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
svens (svens) said :
#1

This is a user mistake:

the "file://" protocol should have 3 (three) / in their paths.
example: file:///var/www

Revision history for this message
sam pauwels (sam-pauwels) said :
#2

I tried them all.
See bellow.
Some work on my local pc but they all don't work on my webserver (apache).

<a href="file://///myservername/Share/" class="internal">file://///myservername/Share/</a> <span class="info"></span><br />
<a href="file:///myservername/Share/" class="internal">file:///myservername/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="file://myservername/Share/" class="internal">file://myservername/Share/</a> <span class="info"></span><br />

<a href="file://///myservername.domain.local/Share/" class="internal">file://///myservername.domain.local/Share/</a> <span class="info"></span><br />
<a href="file:///myservername.domain.local/Share/" class="internal">file:///myservername.domain.local/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="file://myservername.domain.local/Share/" class="internal">file://myservername.domain.local/Share/</a> <span class="info"></span><br />

<a href="file://///myservername.domain.local/D:/Share/" class="internal">file://///myservername.domain.local/D:/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<!-- file://C:/Documents%20and%20Settings/anotherhello.html-->
<a href="file:///myservername.domain.local/D:/Share/" class="internal">file:///myservername.domain.local/D:/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="file://myservername.domain.local/D:/Share/" class="internal">file://myservername.domain.local/D:/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />

<a href="file://///myserverip/Share/" class="internal">file://///myserverip/Share/</a> <span class="info"></span><br />
<a href="file:///myserverip/Share/" class="internal">file:///myserverip/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="file://myserverip/Share/" class="internal">file://myserverip/Share/</a> <span class="info"></span><br />

<a href="file://///myserverip.domain.local/Share/" class="internal">file://///myserverip.domain.local/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="file:///myserverip.domain.local/Share/" class="internal">file:///myserverip.domain.local/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="file://myserverip.domain.local/Share/" class="internal">file://myserverip.domain.local/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />

<a href="http://///myservername/Share/" class="internal">http://///myservername/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="http:///myservername/Share/" class="internal">http:///myservername/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />
<a href="http://myservername/Share/" class="internal">http://myservername/Share/</a> <span class="info"></span> doesn't even work locally on my pc<br />

Thanks for reply.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.