Exemple de fichier .BAT CGI

	@echo off
	echo Content-type: text/plain
	type blank-line.txt
	echo Hello, world
		

Redirection en C

	#include <stdio.h>
	int main() 
	{
		printf("Location:  http://www.mon.nouvel.URL/\r\n");
	}
		

Redirection shell Unix

	 #!/bin/sh
	 echo Location: http://new.url/
	 echo