File: pcgitest

package info (click to toggle)
python-pcgi 1.999a4-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 380 kB
  • ctags: 194
  • sloc: ansic: 1,508; python: 776; makefile: 137; sh: 71
file content (20 lines) | stat: -rwxr-xr-x 696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/pcgi-wrapper

# example pcgi info file - JeffBauer@bigfoot.com

# This example has been preconfigured for Debian GNU/Linux
# To invoke this from browser:
#   http://YOURHOST/cgi-bin/pcgitest/getTime

# If you using this as template for your own info file,
# substitute 'BogusDirectory' with appropriate path
#PCGI_PUBLISHER=/BogusDirectory/pcgi_publisher.py
#PCGI_MODULE_PATH=/BogusDirectory/pcgitime.py
#PCGI_SOCKET_FILE=/tmp/pcgitest.socket
#PCGI_PID_FILE=/tmp/pcgitest.pid

PCGI_EXE=/usr/bin/python
PCGI_PUBLISHER=/usr/lib/site-python/pcgi_publisher.py
PCGI_MODULE_PATH=/usr/doc/python-pcgi/examples/pcgitime.py
PCGI_SOCKET_FILE=/tmp/pcgitest.socket
PCGI_PID_FILE=/tmp/pcgitest.pid