If you wanted to have something easy to edit you could use this:
import SimpleHTTPServer
import BaseHTTPServer
def main():
    request_handler = SimpleHTTPServer.SimpleHTTPRequestHandler
    request_handler.server_version = "Server: Apache123"
    request_handler.sys_version = ""
    BaseHTTPServer.test(HandlerClass = request_handler, ServerClass = BaseHTTPServer.HTTPServer)
if __name__ == "__main__":
    main()
You can run this the same way you run SimpleHTTPServer:
python you_script_name.py port
You could also edit it to take the name you want from the command line.