Remote Include TLD Block

These are old archives. They are kept for historic purposes only.
Post Reply
Judge
Posts: 12
Joined: Tue Apr 20, 2004 6:29 am

Remote Include TLD Block

Post by Judge »

Hi all,

Is it possible to use remote includes for the TLD Block as I would like to be able to download this from my www server instead of reading it from a file.

I have tried and guessing it doesnt work or I have the syntax wrong. Can anyone please confirm if possible and provide and example tld block.

Cheers
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

What error did you get?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Judge
Posts: 12
Joined: Tue Apr 20, 2004 6:29 am

Post by Judge »

Umm, its not in the error log... it was something along the lines of unable to connect to server... which I though was strange as I load my confs from the same server, same path, just about the same include line...

Anyways... if someone could post a copy of a working TLD block that uses remote includes it would help a lot as I just need to see the syntax so I know if I got it wrong or not.

Cheers.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

IIRC, The TLD blocks don't support remote includes. The files must be stored locally. A way around this is to make a cron script to wget the files and simply /rehash when you make a change and the files have been updated by the cron script.

If you have a Windows server that needs the remote includes, there is a Windows version of wget, and you can use the Windows Task Scheduler (This would be called the "Scheduled Tasks" thing found in Start > Programs > Accessories > System Tools on Windows XP and 2K and 2K3)
Judge
Posts: 12
Joined: Tue Apr 20, 2004 6:29 am

Post by Judge »

ok, thanks Stealth
Post Reply