29 lines
739 B
Plaintext
29 lines
739 B
Plaintext
Glasnost for Debian
|
|
-------------------
|
|
|
|
You should modify your apache configuration to include something like:
|
|
(and activate libapache-mod-python)
|
|
|
|
<VirtualHost glasnost.example.com>
|
|
DocumentRoot /usr/lib/glasnost/web/
|
|
ServerName glasnost.example.com
|
|
|
|
PythonPath "[ '/usr/lib/glasnost/web/' ] + sys.path"
|
|
|
|
SetHandler python-program
|
|
DirectoryIndex index.py
|
|
PythonHandler code.webhandler
|
|
</VirtualHost>
|
|
|
|
(note that it's not necessary to use virtualhosts but it is better since
|
|
SetHandler would take over everything)
|
|
|
|
Then:
|
|
/etc/init.d/glasnost start
|
|
/etc/init.d./apache reload
|
|
|
|
You'll then be able to visit http://glasnost.example.com to create an user.
|
|
|
|
-- Frederic Peters <fpeters@debian.org>, Fri, 31 Oct 2003 22:33:01 +0100
|
|
|