File: README

package info (click to toggle)
python-stdnum 2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,676 kB
  • sloc: python: 10,203; javascript: 6,995; sh: 13; makefile: 10
file content (22 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This is a sample application that uses python-stdnum to see which number
formats are valid for a supplied number as can be seen online at:
  https://arthurdejong.org/python-stdnum/check/

Configuring the WSGI application in Apache.

- /path/to/wsgi is the directory containing the WSGI scripts
- /path/to/html is the directory containing the static files

The python-stdnum checkout is expected to be available in
/path/to/wsgi/python-stdnum.


WSGIDaemonProcess stdnum threads=5 maximum-requests=100 display-name=%{GROUP}
<Directory /path/to/wsgi>
  <Files stdnum.wsgi>
    WSGIProcessGroup stdnum
  </Files>
</Directory>
Alias /check /path/to/html
WSGIScriptAlias /check/stdnum.wsgi /path/to/wsgi/stdnum.wsgi
RewriteRule ^/check/$ /check/stdnum.wsgi/$1 [QSA,PT,L]