Remote Includes

These are old archives. They are kept for historic purposes only.
Post Reply
AzzKikr
Posts: 5
Joined: Wed Aug 18, 2004 9:00 am

Remote Includes

Post 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?
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Read INSTALL.REMOTEINC it explains how to get it setup.
-- codemastr
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Perhaps the contents of INSTALL.REMOTEINC should be stickied?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Judge
Posts: 12
Joined: Tue Apr 20, 2004 6:29 am

Remote Includes

Post 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.
Ron2K

Post 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)?
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post 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...
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Re: Remote Includes

Post by codemastr »

Judge wrote:include http://www.domain.com/config.conf

would this work? What about https/ftp/ftps? A couple of examples would be much appreciated.
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.
-- codemastr
Post Reply