[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4/SSI shared file for VH ?
- Subject: Re: [cobalt-users] RaQ4/SSI shared file for VH ?
- From: Dan Keller <dan@xxxxxxxxxx>
- Date: Thu Mar 22 09:39:45 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 07:59 PM 3/22/01 +0100, you wrote:
>I need some help to have one or several files shared on my raq4. That means I want to call the file with x.text or x.html from the same location on the server for use on differents virtual hosts on the same server, with use of SSI. The server is operated by me, so root access is ok. This is to save work with editing/uploading only one file contains the same text for several domains(VH).
>
>Is it possible ? Best regards
>Roger Iverin
Roger, the way I do this is with filesystem links.
In all Unixes (including Linux) one file can have
two or more names. For example, to give your
x.html file a second name (x.text) you could use
a "hard" link which you'd create by typing:
ln x.html x.text
If the two files reside in different filesystems,
you must use a "symbolic" link instead of a
"hard" one, which you'd create thusly:
ln -s /filesystem1/somepath/x.html /filesystem2/anotherpath/x.text
Dan Keller
dan@xxxxxxxxxx
http://www.keller.com/
+1 415 861-4500 (voice)
+1 415 861-4593 (fax)