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
Remote Include TLD Block
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.
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:
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)
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)