use apache instead of server by default

48 views
Skip to first unread message

Thierry Granier

unread,
Feb 8, 2015, 5:20:31 PM2/8/15
to django...@googlegroups.com
Hello

i have installed python3.4 and django1.7 on debian jessie.

runserver works with mysql-connector and mysql databases.

I'd like to use apache instead of this server.
So i have installed via sysaptic the module libapache2-mod-wsgi

why can't i install my website root in the document/root of apache?
i don't understand the virtualhost and the directives associated.

Thanks for your help

T.

Thomas Rega

unread,
Feb 9, 2015, 4:22:04 AM2/9/15
to django...@googlegroups.com
Hi,

You have to tell the apache where to find the wsgi file of your project.

Here you can find informations about the configuration of
apache/modwsgi:
https://code.google.com/p/modwsgi/wiki/InstallationInstructions
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a38d1534-93e9-4870-be96-acff9a46b56f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Avraham Serour

unread,
Feb 9, 2015, 10:17:10 AM2/9/15
to django...@googlegroups.com
you should try using nginx instead of apache, the configuration files are much simpler to understand

Thierry Granier

unread,
Feb 10, 2015, 5:17:06 AM2/10/15
to django...@googlegroups.com
peraps but i have no choice and i must use apache.
I don't understand the different docs tu use apache.

Help please
Thanks
Reply all
Reply to author
Forward
0 new messages