On Wednesday 26 Aug 2009 2:42:47 pm HB wrote:
> Hey,
> I'm trying to deploy my first Django application to Apache.
> The project is located under:  /home/me/SshConnector/
> Here is my configuration:
>
> <Directory /var/www/html>
>         Options Indexes FollowSymLinks MultiViews
>         AllowOverride None
>         Order allow,deny
>         allow from all
>         AddHandler mod_python .py
>         PythonHandler mod_python.publisher
>         SetEnv DJANGO_SETTINGS_MODULE SshConnector.settings
>         PythonPath "['/home/me/SshConnector/', '/var/www'] + sys.path"

in the first place this wrong. It should be:

 PythonPath "['/home/me/', '/var/www'] + sys.path"

-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
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