Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
14144f3b
Commit
14144f3b
authored
May 11, 2012
by
Alexandre Duret-Lutz
Browse files
* wrap/python/ajax/README: More debugging help.
parent
2d0ac3eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
wrap/python/ajax/README
View file @
14144f3b
...
...
@@ -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
AddHandle
r
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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment