For all Windows 2k users, I finally got everything working! Using
apache instead of default django server...
OS: Windows 2000
Server: Apache 2.0.59
Database: MySQL 3.23.49 + MySQL for Python 1.2.1
Python: 2.4.4 + mod_python 3.2.5b
Django Version: .95
/*************************/
FROM httpd.conf
DocumentRoot "e:/www.mysite.com/mysite"
<Directory "e:/www.mysite.com/mysite">
<Directory "e:/www.mysite.com">
AllowOverride Fileinfo
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
</Directory>
<Location "">
SetHandler mod_python
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE dailygaijin.settings
PythonDebug On
PythonAutoReload On
PythonPath "['e:\www.mysite.com'] + sys.path"
</Location>
/*************************/
#STATIC PAGE TEST
#http://localhost/test/
#e:\www.mysite.com\mysite\urls.py
#test.htm exists in :::: e:\www.mysite.com\mysite\templates
from django.conf.urls.defaults import *
urlpatterns = patterns('django.views.generic.simple',
(r'^test/$', 'direct_to_template', {'template':
'test.htm'}),
)
Now, the fun begins!!!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---