Hi folks,
Is there anyway of symlinking files at a lower level than using ln? Here's
why:
I run several instances of third-party software like vBulletin and Geeklog
on my server, and I've been experimenting with centralising them for a
while. The obvious and easiest way to do it is to hack the config file to
read the hostname and deliver a different configuration for each site.
Unfortunately though, this means I need to reintegrate the hack every time I
upgrade, and I nearly always forget to do this.
For other parts of the site, most notably layouts and images, you can get
around this by Aliasing files from within Apache, i.e. I keep vBulletin and
Geeklog skins outside the application directory tree, so when I upgrade
there's no need to remerge them. I'd like to do this with the config files
too, but obviously symlinking requires tinkering in the directory tree.
Any way around this? Silly question I know, but does the filesystem have
anything like Apache Aliases?
Thanks,
adam
_____________________________________________________________________
"The good news is the White House is giving George Bush intelligence
briefings. You know, some of these jokes just write themselves."
--David Letterman
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!