* wrap/python/ajax/README: More debugging help.
This commit is contained in:
parent
2d0ac3eb75
commit
14144f3b3b
1 changed files with 9 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ Installing on a real web server
|
|||
in a .htaccess file (if allowed).
|
||||
|
||||
# Treat *.py files as CGI scripts
|
||||
AddHandle cgi-script .py
|
||||
AddHandler cgi-script .py
|
||||
|
||||
# Allow CGI execution in some directory.
|
||||
Options +ExecCGI
|
||||
|
|
@ -69,6 +69,14 @@ Installing on a real web server
|
|||
Debugging
|
||||
=========
|
||||
|
||||
When working on the script, remember that the contents of spotimg/ is
|
||||
used as a cache and that a request will not be processed again if its
|
||||
result is in the cache. So if you don't understand why the change you
|
||||
have performed has no effect, make sure you are performing some fresh
|
||||
query, or wipe the contents of the cache (i.e., erase all files inside
|
||||
spotimg/ but not the spotimg/ directory itself).
|
||||
|
||||
|
||||
The hash string displayed in the web browser is the query string sent
|
||||
to the CGI script, so you can simulate the call from the command line
|
||||
with a command like this:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue