how to use apache instead of django_server

34 views
Skip to first unread message

th.gr...@free.fr

unread,
Dec 29, 2014, 7:11:01 AM12/29/14
to django...@googlegroups.com
Hello

i'm a very new user of python and i'd luke to install Django
i want to use apache server instead of the internal Django server.

i read the documentation and installed wsgi
but now i don't know how to connect Django admin via apache!!

thanks for your help

T

Masklinn

unread,
Dec 29, 2014, 7:23:58 AM12/29/14
to django...@googlegroups.com
You need mod_wsgi and to mount your project's wsgi script into
mod_wsgi, as explained by
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
and https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/

th.gr...@free.fr

unread,
Dec 29, 2014, 12:26:43 PM12/29/14
to django...@googlegroups.com
Merci
Thanks

just another question

when you don't use apache but the internal server of Django you start the command runserver for loging to django admin
how to connect with apache?

Many thanks

T.

phi...@bailey.st

unread,
Dec 29, 2014, 1:10:25 PM12/29/14
to django...@googlegroups.com

Hello there,

if you are familiar with puppet you can take a look to this module.

Best,

Phillip

phi...@bailey.st

unread,
Dec 29, 2014, 1:16:22 PM12/29/14
to django...@googlegroups.com
Sorry,

just forgot to attach the link

https://forge.puppetlabs.com/pbailey/django_bootstrap

Best,

Phillip

Gerald Klein

unread,
Dec 29, 2014, 1:50:29 PM12/29/14
to django...@googlegroups.com
You need both apache and uwsgi or something like gunicorn, gunicorn is easier to configure. Basically your apache server will listen on 80 and them proxy python code to the app server


--
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/54A198D9.30501%40bailey.st.
For more options, visit https://groups.google.com/d/optout.



--

Gerald Klein DBA

Cont...@geraldklein.com

www.geraldklein.com

geraldklein.wordpress.com

j...@zognet.com

708-599-0352


Arch, Gentoo I3, Ranger & Vim the coding triple threat.

Linux registered user #548580 

Brought to you by the Amish Mafia

Reply all
Reply to author
Forward
0 new messages