my httpd.conf  seetings as:

<Location "/mysite/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonOption django.root /mysite
    PythonDebug On
    PythonPath "['C:/Python25/Lib/site-packages/django','C:/Program
Files/Apache2.2/htdocs/mysite','c:/Program Files/Apache Software
Foundation/Apache2.2/htdocs', '/django']"

</Location>




I found error in browser like:


MOD_PYTHON ERROR

ProcessId:      3000
Interpreter:    'asraful.brotecs.com'

ServerName:     'asraful.brotecs.com'
DocumentRoot:   'C:/Program Files/Apache Software Foundation/Apache2.2/
htdocs'

URI:            '/mysite/'
Location:       '/mysite/'
Directory:      None
Filename:       'C:/Program Files/Apache Software Foundation/Apache2.2/
htdocs/mysite/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line
1202, in _process_target
    module = import_module(module_name, path=path)

  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line
304, in import_module
    return __import__(module_name, {}, {}, ['*'])

ImportError: No module named django.core.handlers.modpython



And how can i create settings.py file for my project.


Is any one there to help me on these.






-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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