The previous conf is python.conf under /etc/httpd/conf.d
On Aug 26, 12:12 pm, HB <hubaghd...@gmail.com> 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"
> PythonDebug On
> </Directory>
>
> And restarted Apache.
>
> But I'm getting:
> The requested URL /html/search/ was not found on this server.
> Up typing:http://localserver/html/search/
>
> Any ideas what is going wrong?
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---