I've been using Apache+Mod_Python+Django on windows without any trouble at all. The biggest "trick" is to set the configuration to enable the mod_python module and pass requests through to the right handler.

I don't know if it'll help you, but here's some of the example config pieces I use on my own little internal server:

Alias /media/ "C:\Python24/Lib/site-packages/Django-0.91-py2.4.egg/django/contrib/admin/media/"
<Directory "C:/Python24/Lib/site-packages/Django-0.91-py2.4.egg/django/contrib/admin/media">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
<Location "/media/">
    SetHandler None
</Location>
<LocationMatch "\.(jpg|gif|png)$">
    SetHandler None
</LocationMatch>

<Location "/simon/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE simon.settings
    PythonPath "['C:\p4\p4-tss\users\jheck'] + sys.path"
    PythonDebug On
    PythonInterpreter simon
</Location>

<Location "/perforce/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE perforce.settings
    PythonPath "['C:\p4\p4-tss\users\jheck'] + sys.path"
    PythonDebug On
    PythonInterpreter perforce
</Location>

On 10/10/06, Picio <[EMAIL PROTECTED]> wrote:

Hello, I got the point thanks.
Which one is more easy to configure between
Apache + mod_python + django
and
Lighttpd +flup + fastcgi + django?

The platform will be a pIII 650 with windows2000 sp4, max user no. is 4.
Picio


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to