node245





11.2.7 Testing your CGI script

















Python Library Reference




Previous: 11.2.6 Installing your CGI
Up: 11.2 cgi
Next: 11.2.8 Debugging CGI scripts




11.2.7 Testing your CGI script



Unfortunately, a CGI script will generally not run when you try it
from the command line, and a script that works perfectly from the
command line may fail mysteriously when run from the server. There's
one reason why you should still test your script from the command
line: if it contains a syntax error, the Python interpreter won't
execute it at all, and the HTTP server will most likely send a cryptic
error to the client.


Assuming your script has no syntax errors, yet it does not work, you
have no choice but to read the next section.








Python Library Reference




Previous: 11.2.6 Installing your CGI
Up: 11.2 cgi
Next: 11.2.8 Debugging CGI scripts



See About this document... for information on suggesting changes.





Wyszukiwarka

Podobne podstrony:
node245 T2YQJZD6LDQ6LP5OYUC3OHQJMT5QYEUMQNSNPTI
node243
node242 7L22GLKYOY7WCD2ENRGH2MBHLMAUTJL2GTKKYNY
node246 YIF4WCYAY6SJS2OLKTPEMD6TGPZD4BLGOW43G3A
node24 PDHWHKXXAJCE53SGAZZQAGL4RLNJ7ZXWLGOY4QY
node24
node24 3ZDS5WHDJGYZQJTUOOHV6YJOOXTC2GUWSJC775I
node24
node244
node243 YS2T6SICTFF6CFMWRO7X5VPFRR7EJ4VCN3TKXFY
node24 2PNVCNM2PFRUZA3ENONWT4NSN4DPLHTMPZ3FH7Y
node241
node244 D3H4Q5QNKWCUAFHHJWADTRR7OS7G5JGYHSPAIMQ
node249 7JYBNHKY3DEZ42ROO3VGHKZUJVB2IRUD4MHHCUY
node247
node24 1
node248 C33U2NRXWJ5BBSGXFIODC6MPK44O246Y7WN2G7Y

więcej podobnych podstron