#!/usr/bin/python

import BaseHTTPServer
import CGIHTTPServer

def root_uid():
    return 0

CGIHTTPServer.nobody_uid = root_uid # set UID to root instead of nobody
httpd = BaseHTTPServer.HTTPServer(('', 80), CGIHTTPServer.CGIHTTPRequestHandler)
httpd.serve_forever()
