Passing cgi parameters to script...
Kent Johnson
kent at kentsjohnson.com
Fri Dec 30 09:09:29 EST 2005
More information about the Python-list mailing list
Fri Dec 30 09:09:29 EST 2005
- Previous message (by thread): Passing cgi parameters to script...
- Next message (by thread): Is this a refrence issue?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Diez B. Roggisch wrote: > sophie_newbie wrote: > >>Is there any way that I can pass cgi parameters to my script locally, >>before i upload it to the webserver, so that i can debug it. > > You might think of using CGIHttpServer to test your scripts in a > server-environment - while still being local. Which can be as simple as typing python -c "import CGIHTTPServer; CGIHTTPServer.test()" from the command line in the root dir of your site (the dir that contains the cgi-bin dir). Kent
- Previous message (by thread): Passing cgi parameters to script...
- Next message (by thread): Is this a refrence issue?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list