This is my file system structure WebApplication -> 0.9 ->lib (log4py) ->src (the Django Code)
This is the command i used to run the Django Application from console. $ PYTHONPATH=lib/:src/ DJANGO_SETTINGS_MODULE=settings src/manage.py runserver PYTHONPATN=lib/:src/ The above command is to set the environment path as my logger module is not inside the main src folder. Now to my question, i am unable to deploy the web application onto Apache using the following commands in the httpd.conf NameVirtualHost 127.1.1.1 <VirtualHost 127.1.1.1> ServerName 127.1.1.1 SetHandler python-program PythonHandler django.core.handlers.modpython PythonDebug On PythonPath "['/home/Documents/WebApplication/0.1/', '/home/Documents/ WebApplication/0.1/src'] + sys.path" <Location "/"> SetEnv DJANGO_SETTINGS_MODULE src.settings PythonInterpreter src </Location> </VirtualHost> Error Message "EnvironmentError: Could not import settings 'src.settings' (Is it on sys.path? Does it have syntax errors?): No module named logger" The module logger is in the lib folder How do i configure my Apache to run my web application? I am very lost now. Thank you for all the help. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---