Thanks for your suggestions, but I will explain my problem in more
details. For the moment, my computer isn't hook to the internet in any
way. I download files from an other computer and then I transfer them on
mine.
Then, locally on my computer, I read those files with netscape. When
the links are relative (e.g. ../file_x I have no problem. When the links
are absolute (e.g. http://www.somewhere.com/folder_x) I have a problem.
Like I have many files from http://www.somewhere.com/ I have made a
folder on my computer for those files. One thing I could do is to make a
little bash script to substitute all the address starting with
http://www.somewhere.com/ in those files by
file://folder_om_my_computer.
But I would prefer a solution in some file (I don't know which file
maybe /etc/host or something like that) where http://www.somewhere.com/
would be an alias for file://folder_om_my_computer. In this file, there
could be a lot of such links. So when in netscape i would click on
http://www.somewhere.com/ it would bring me automatically to
file://folder_om_my_computer instead of giving me an unreachable host.
Maybe bind is the program I should look at?
For the moment I didn't try your solutions (I am not on my computer)
but for the propositions file://home/... and file:///home/... I don't
know where and how to make the alias and that's my problem. I will try
the ln -s solution but I am not sure it can work with a http://...
address.
Anyway, I suppose that if I had a better understanding of the
networking in linux I could find the file for making the aliasing.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]