, received 404

17 views
Skip to first unread message

李志明

unread,
Mar 23, 2017, 7:22:26 AM3/23/17
to Django users
--System configuration:

Ubuntu 14.04 Desktop, 
apache 2.4.7, 
python 3.4.3, 
Djanog 1.10.6

-- Apache2 works fine and I can see its default page, but cannot view any Django page. 
-- Searched on Google, and found lots of documents, tried tons of them, still the same result.

anyone has experience about deploying Django project to Apache? any help or pointer would be appreciated.

Avraham Serour

unread,
Mar 23, 2017, 7:38:31 AM3/23/17
to django-users
Do you really have to use Apache for any reason?

If not I recommend using nginx+ uwsgi to deploy django, the killer feature that convinced me to leave Apache was the simpler config file nginx have.

There are plenty of tutorials on how to deploy django like this, if you don't find anything suitable I can point you to a good one or help you here on the list

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e7be272d-2ffc-4dc6-aa10-20be35920c90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Melvyn Sopacua

unread,
Mar 23, 2017, 11:29:19 AM3/23/17
to django...@googlegroups.com

On Wednesday 22 March 2017 23:55:06 æ Žå¿—æ˜Ž wrote:

 

> Ubuntu 14.04 Desktop,

> apache 2.4.7,

> python 3.4.3,

> Djanog 1.10.6

 

And your WSGI config?

--

Melvyn Sopacua

Reply all
Reply to author
Forward
0 new messages