File: README

package info (click to toggle)
pyjamas 0.7~%2Bpre2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,656 kB
  • ctags: 12,331
  • sloc: python: 74,493; php: 805; sh: 291; makefile: 59; xml: 9
file content (19 lines) | stat: -rw-r--r-- 801 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This example is set up so that the JSONRPC python service is run
by default as a CGI Script.  There is an example python CGI script
server which is set up to allow access to the JSONService.py CGI
script, for this example.  Start it as:

    $ cd examples/jsonrpc/output
    $ python PythonCGIServer.py

If you would like to try this example with Apache2, simply point
the Apache2 server at the examples/ subdirectory and then ensure
that Python scripts are allowed to be executed (see Apache2 manuals
to enable).

If you would like the JSONService.py to be executed under mod_python,
move public/services/htaccess.mod_python to public/services/.htaccess
and rebuild (or copy it to output/) and then restart Apache2.

Thanks to Daniel Carvalho for working out how to run this example
with mod_python.