[pmwiki-users] Re: host-independent URLs for configurations
chr at home.se
chr at home.se
Tue Mar 15 16:19:20 CST 2005
On Tue, 15 Mar 2005, Bronwyn Boltwood wrote:
> Problem: several configuration things want URLs, such as farmmap.txt
> and config.php. Well, on the webserver they start with
> "http://arndis.godsong.org", and on my machine they start with
> "http://localhost". Changing them back and forth is a nuisance. Is
> there something I can do to tell these to use the base URL plus
> whatever, and to get the base URL from the server? What file would I
> put that information in?
I think it'd be nice if we could use variables in e.g. localmap.txt.
I also think ThisSite needs some resurrection, for instance through
{$ThisSite}.
> Also, I bet that someone's already developed some happy sync software
> for mirroring like this (hopefully selective, so that I won't eat
> webserver space with non-served graphics source files etc.),
Try
* Unison file synchronizer
* rsync
Actually, what you want is unison... it's cross-platform and even comes
with a GUI...
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list