moria.org.uk

Wed, 21 Dec 2005

Using meta-refresh to redirect a site

I had some content hosted on my ISPs webspace, and when it came to move it off, I hit a slight problem: I do not like breaking links, but as Demon run thttpd, with no configuration access for us users, there was no way to redirect a whole directory tree. So I have written a script to create an entire tree of HTML pages with meta-refresh tags redirecting to a new site. Not an elegant solution, but it gets the job done.

[22:57] | [/computers/web] | #

Colin Phipps.
Archives
January 2007
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
Web Sites
zsync
PrBoom
About Kye
Credits
Blosxom
Powered by
Blogs that link here
[Valid Atom]