[go: up one dir, main page]

File: README.txt

package info (click to toggle)
scgi 1.13-1.1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 292 kB
  • ctags: 308
  • sloc: ansic: 1,379; python: 395; makefile: 71
file content (42 lines) | stat: -rw-r--r-- 929 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Building
--------

Using the 'apxs' tool:

    $ apxs -i -c mod_scgi.c

Alternatively, you can use 'make' and 'make install'.


Configuration
-------------

To enable, add

    LoadModule scgi_module /<some path>/mod_scgi.so

in your httpd.conf file.  Note that it is best to load mod_scgi after
mod_rewrite (mod_rewrite needs a higher priority in order to rewrite
URLs served by mod_scgi).  To serve a set of URLs under one path with
an SCGI server, use the SCGIMount directive:

    SCGIMount /dynamic 127.0.0.1:4000


Demo
-----

Quixote >= 2.0a2 has a demo application you can try out by running:

  python $QUIXOTE/server/scgi_server.py --port 4000

with the appropriate path for $QUIXOTE.  If you have Quixote 1.3 or
2.0a1 installed, use the driver bundled with SCGI instead:

  python scgi/quixote_handler.py -F

If you don't have Quixote, the SCGI server doubles as a standalone
demo:

  python scgi/scgi_server.py 4000