1. python执行cgi功能
#!/home/python/tools/python2.7.2/bin/python
print "Content-type: text/html\n"
print "This python test page<br><hr>"
2. tcl执行cgi
#!/bin/sh
#\
. run_cgi_env
#\
exec tclsh "$0" "$@"
puts "Content-type: text/html\n"puts "This is tcl cgi test<br><hr>"
3. perl执行cgi
#!/usr/bin/perl print "Content-type: text/html\n" print "This perl test page<br><hr>"