#!/usr/local/bin/python
# encoding: utf-8
"""
test.py
========
:Summary:
A test script to test apache installs
:Author:
@thespacedoctor
"""
################# GLOBAL IMPORTS ####################
import sys
import os
import cgi
import cgitb
######################################################
# MAIN LOOP - USED FOR DEBUGGING OR WHEN SCRIPTING #
######################################################
def main():
"""
The code executed on webpage load
"""
print 'Content-Type: text/html\n\n'
print "<html>"
print "<head>"
print "<title>Hello - seems all is now right with the world</title>"
print "</head>"
print "<body>"
print "<h2>If you see this then ... </h2>"
print "<h4>... apache is working and running python scripts</h4>"
print "</body>"
print "</html>"
if __name__ == '__main__':
main()