From 14144f3b3b018891f6e400fa3c3275510b5f2be8 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 11 May 2012 23:35:49 +0200 Subject: [PATCH] * wrap/python/ajax/README: More debugging help. --- wrap/python/ajax/README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wrap/python/ajax/README b/wrap/python/ajax/README index af7a6dfb1..2b3e6f9ad 100644 --- a/wrap/python/ajax/README +++ b/wrap/python/ajax/README @@ -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: