home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-python-addon-1.4.9-installer.exe / index.py < prev    next >
Encoding:
Python Source  |  2004-03-09  |  353 b   |  7 lines

  1. from mod_python import apache
  2. def handler(req):
  3.         req.content_type = "text/html"
  4.         req.write("<html><head><link href=\"../styles.css\" rel=\"stylesheet\" type=\"text/css\"></head><body>")
  5.     req.write(" <p><h1>Python is running with mod_python ...</h1>")
  6.     req.write("<b>... that is all ...</b><br><br><br>")
  7.         return apache.OK