On Fri, Oct 24, 2008 at 11:51 AM, tsmets <[EMAIL PROTECTED]> wrote:
>
> I installed mod_python & apache2.
> mod_python is OK
> http://ubuntuforums.org/showthread.php?t=91101
>
> I then a adapted the http.conf to
> [EMAIL PROTECTED]:/etc/apache2$ cat httpd.conf
>
>SetHandler python-program
>
Forgot to add that I adapted the
/etc/apache2/sites-available/default
///
NameVirtualHost *
ServerAdmin [EMAIL PROTECTED]
PythonPath "['/home/me/Documents/django'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE
I installed mod_python & apache2.
mod_python is OK
http://ubuntuforums.org/showthread.php?t=91101
I then a adapted the http.conf to
[EMAIL PROTECTED]:/etc/apache2$ cat httpd.conf
SetHandler python-program
PythonHandler django.core.handler.modpython
SetEnv DJANGO_SETTINGS_MODULES de_p
3 matches
Mail list logo