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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to