thanks, i have read your post and i am beginning to understand this better, i am also trying mod_python as an alternative my project path is the same /home/ashtanga/public_html/ash insdie the ash is my Django project and iside it i have my settings.py and urls.py, i have added the following script to the httpd.conf file :
<Location "/ash/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE settings PythonOption django.root /ash PythonDebug On PythonPath "['/home/ashtanga/public_html/ash'] + sys.path" </Location> but i keep getting this error : MOD_PYTHON ERROR ProcessId: 11275 Interpreter: 'ashtangayogavideo.com' ServerName: 'ashtangayogavideo.com' DocumentRoot: '/home/ashtanga/public_html' URI: '/ash/' Location: '/ash/' Directory: None Filename: '/home/ashtanga/public_html/ash/' PathInfo: '' Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/mod_python/ importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "/usr/local/lib/python2.4/site-packages/mod_python/ importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg) File "/usr/local/lib/python2.4/site-packages/mod_python/ importer.py", line 1128, in _execute_target result = object(arg) File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ modpython.py", line 228, in handler return ModPythonHandler()(req) File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ modpython.py", line 201, in __call__ response = self.get_response(request) File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ base.py", line 142, in get_response return self.handle_uncaught_exception(request, resolver, exc_info) File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ base.py", line 177, in handle_uncaught_exception if resolver.urlconf_module is None: File "/usr/local/lib/python2.4/site-packages/django/core/ urlresolvers.py", line 238, in _get_urlconf_module self._urlconf_module = import_module(self.urlconf_name) File "/usr/local/lib/python2.4/site-packages/django/utils/ importlib.py", line 35, in import_module __import__(name) ImportError: No module named ash.urls i have read several posts on the same subject but none of the fixes provided in them solve the problem -- 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.