Page 1 of 1
Remote Includes
Posted: Sat Sep 04, 2004 10:29 am
by AzzKikr
So I've heard all this wonderful stuff about Remote Includes, but I've searched all over the forums and there doesn't seem to be an FAQ or a How-To guide to using them.
So, I'm putting the word out. I was hoping to use Remote Includes for a number of servers on my network, so that netadmins could /oper up on any server, and so that the vhost settings remained the same network wide.
How would I go about doing this using remote includes?
Posted: Sat Sep 04, 2004 3:42 pm
by codemastr
Read INSTALL.REMOTEINC it explains how to get it setup.
Posted: Sun Sep 05, 2004 11:46 pm
by w00t
Perhaps the contents of INSTALL.REMOTEINC should be stickied?
Remote Includes
Posted: Mon Sep 06, 2004 8:34 am
by Judge
umm, guys, that tells you how to enable remote includes support, but doesn't actually say how to use it. At a guess I would say you could do something similar to :
include
http://www.domain.com/config.conf
would this work? What about https/ftp/ftps? A couple of examples would be much appreciated.
Posted: Mon Sep 06, 2004 10:17 am
by Ron2K
Yeah, that would work (if you don't forget the semicolon, that is). It works with ftp too - I've tried such things as
include ftp://ftp.mydomain.tld and even
include ftp://user:[email protected]:22 - both of which work fine. I haven't tested https or ftps (because I haven't been able to find decent abovementioned servers for Win32).
Maybe one of us should do another "How-To" guide (like I did with linking servers)?
Posted: Mon Sep 06, 2004 4:14 pm
by jewles
Maybe one of us should do another "How-To" guide (like I did with linking servers)?
not a bad idea.
because I was the first one who had the most trouble with remote includes... which is why I picked it to be the one thing I knew...
anywho...
Re: Remote Includes
Posted: Mon Sep 06, 2004 4:24 pm
by codemastr
That's pretty much all there is too it. Yes, it supports http/ftp, and if when compiling libcurl you enabled SSL support, it supports https and ftps as well. But for specifying the URL, it's pretty much exactly the same as you would do with a web browser. It supports specifying a user:pass, a :port, etc.