[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] RaQ4/SSI shared file for VH ?



> 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 ?
>

It's possible on any Apache server. Put all the files in a particular
directory. /shared maybe. Then see
http://httpd.apache.org/docs/mod/mod_alias.html#alias about how to make that
an alias shared for all the sites. That way any site accessing
http://www.site.com/shared/file.html will get the /shared/file.html file.
You usually edit the srm.conf file for this and you need to watch your other
links as you may or may not be sharing /images etc.

--
Dan Kriwitsky




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com