2008-04-24 10:19:32 +00:00
|
|
|
Web Interface
|
|
|
|
|
==============
|
|
|
|
|
On Debian systems, you have a simple CGI script located at:
|
|
|
|
|
|
2002-12-31 01:12:59 +00:00
|
|
|
http://localhost/lconline/index.html
|
2008-04-24 10:19:32 +00:00
|
|
|
|
|
|
|
|
For this to work, your web server must have content negotiation enabled
|
|
|
|
|
(with "sudo a2enmod negotiation").
|
|
|
|
|
Otherwise you have to for one language XY the file extensions of the
|
2003-08-05 13:01:06 +00:00
|
|
|
.html.XY files.
|
2002-02-24 12:29:35 +00:00
|
|
|
|
2004-09-05 10:54:24 +00:00
|
|
|
Note that only the local host (ie. 127.0.0.1) can access this
|
|
|
|
|
script. If you want to enable access from other hosts you have
|
|
|
|
|
to adjust the ALLOWED_HOSTS and ALLOWED_SERVERS variables in
|
|
|
|
|
the /usr/lib/cgi-bin/lc.cgi script.
|
|
|
|
|
|
2008-04-24 10:19:32 +00:00
|
|
|
Profiling
|
|
|
|
|
==========
|
|
|
|
|
The --profile option works only if python >=2.5 or the
|
2007-06-16 22:08:41 +00:00
|
|
|
python-profiler package is installed.
|