﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18591	Missing crucial info in Apache conf (httpd.conf) to serve static files	rschuon@…	nobody	"Your page:  https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/

To get Apache to be able to serve files statically, the handler (mod-wsgi, or uWSGI) must be disabled for those folders.  So, you need another directive under the ones you list, that looks like this:
{{{
<Location /static>
        SetHandler default-handler
</Location>
}}}

I believe the /static location directive must occur after the / Location directive to turn the handler off correctly.
This allows the request to be caught by Apache rather than uWSGI, and redirected to the static file folder.

Also, the line:

{{{
Alias /static/ /usr/local/wsgi/static/
}}}

Should actually look like this:

{{{
Alias /static /usr/local/wsgi/static/
}}}

Without the trailing slash on the alias."	Cleanup/optimization	closed	Documentation	1.4	Normal	worksforme	Apache, mod-wsgi, uWSGI, Static, Media		Accepted	0	0	0	0	0	0
