PHWinfo banniere

Titres
ACCUEIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.html > Local vs. remote files on CDROM-based server
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Local vs. remote files on CDROM-based server

Réponse
 
LinkBack Outils de la discussion
Vieux 06/01/09, 12h19   #1
Maxwell Lol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Local vs. remote files on CDROM-based server


I have built a perl-based web server that will reside on a CDROM, and has
the ability to search the text files on the CDROM. I'll used
ActiveState's perl to make a *.exe file.


The problem I have is described here:

http://kb.mozillazine.org/Links_to_l...s_don%27t_work
Where Firefox won't allow users to link from http://localhost:8080/ to a
file:///

Essentially people can click on a search result, but the browserr
does not open the file. The user has to copy and paste the URI.

Is there any recommended practice to work around this issue?
Something with Javascript?

  Réponse avec citation
Vieux 06/01/09, 16h35   #2
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Local vs. remote files on CDROM-based server

Maxwell Lol wrote:
> I have built a perl-based web server that will reside on a CDROM, and has
> the ability to search the text files on the CDROM. I'll used
> ActiveState's perl to make a *.exe file.
>
>
> The problem I have is described here:
>
> http://kb.mozillazine.org/Links_to_l...s_don%27t_work
> Where Firefox won't allow users to link from http://localhost:8080/ to a
> file:///
>
> Essentially people can click on a search result, but the browserr
> does not open the file. The user has to copy and paste the URI.
>
> Is there any recommended practice to work around this issue?
> Something with Javascript?
>


Web server is on the CDROM with the test files? Then have with text
files within document root of web server's site and server files with http

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Réponse avec citation
Vieux 06/01/09, 19h20   #3
Ed Mullen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Local vs. remote files on CDROM-based server

Maxwell Lol wrote:
> I have built a perl-based web server that will reside on a CDROM, and has
> the ability to search the text files on the CDROM. I'll used
> ActiveState's perl to make a *.exe file.
>
>
> The problem I have is described here:
>
> http://kb.mozillazine.org/Links_to_l...s_don%27t_work
> Where Firefox won't allow users to link from http://localhost:8080/ to a
> file:///
>
> Essentially people can click on a search result, but the browserr
> does not open the file. The user has to copy and paste the URI.
>
> Is there any recommended practice to work around this issue?
> Something with Javascript?
>


So don't use file:///file.txt links, use http://file.txt or relative
links, e.g., /folder/file.txt

--
Ed Mullen
http://edmullen.net
Is it time for your medication or mine?
  Réponse avec citation
Vieux 07/01/09, 12h54   #4
Maxwell Lol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Local vs. remote files on CDROM-based server

Ed Mullen <ed@edmullen.net> writes:

> So don't use file:///file.txt links, use http://file.txt or relative
> links, e.g., /folder/file.txt


Thanks, Ed and Jonathan. I think I have it working now.
I tweaked the server to deliver files on the CDROM when accessed as
html://localhost/file, so that both file: and http: both work.

So if they don't (or can't) use the search engine, they access info as
file:// and if they do, they can use both styles of URI.

Thanks for your !

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 21h52.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2009
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09284 seconds with 12 queries