django is realy cool. But it is so frustrated to get django work on my
windows machine.

here is my setting/configures

python setting at httpd.conf:
--------------------------------------------------

<Directory "C:/depot/projects/web/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    AddHandler python-program .py
    PythonHandler mod_python.publisher
    PythonPath "['C:/Python25/Lib/site-packages/mod_python/',]
+sys.path"
    PythonDebug On
</Directory>
----------------------------------------------------------

django setting at vhosts.conf:

-------------------------------------------------------------------------------------
        <VirtualHost *:80>
    ServerAdmin webmas...@dummy-host2.li
    DocumentRoot "C:/depot/projects/web/"
    ServerName web
    ServerAlias *.web
    ErrorLog "logs/dummy-host2.li-error_log"
    CustomLog "logs/dummy-host2.li-access_log" common


<Location "/web">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    PythonOption django.root "C:/depot/projects/web/"
    SetEnv DJANGO_SETTINGS_MODULE web.settings
    PythonPath "['C:/depot/projects/web/'] + sys.path"
    PythonDebug On
</Location>

  <Location "/media">
    SetHandler None
  </Location>

  <LocationMatch "\.(jpg|gif|png|css|js)$">
    SetHandler None
  </LocationMatch>

</VirtualHost>
-----------------------------------------------------------------------------
or you can see from this link:

http://stackoverflow.com/questions/823458/django-apache-on-windows-setting-problem


Any help is much appreciated!



--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to