Opened 6 years ago

Closed 5 years ago

#17709 closed Cleanup/optimization (needsinfo)

Include info on DocumentRoot in Apache setup doc

Reported by: fastfrwrd@… Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Aymeric Augustin)

In the Django Book, DocumentRoot is at least mentioned in describing the process for serving files from the static and media directories via Apache. This is a pretty important caveat and should really be on the doc page for How To Use Django with Apache and mod_wsgi. (

Change History (4)

comment:1 Changed 6 years ago by Aymeric Augustin

Triage Stage: UnreviewedAccepted

This is a valid suggestion.

However, mod_python is deprecated and will be removed in version 1.5; so this ticket will be closed as "wontfix" in one month.

comment:2 Changed 6 years ago by Carl Meyer

If this ticket really only applied to mod_python I'd have no trouble wontfixing it right now. However, I note that that the mod_wsgi page also includes Apache configuration samples for serving static assets, and that that example doesn't include DocumentRoot either, and it seems like it probably ought to.

comment:3 Changed 6 years ago by Aymeric Augustin

Description: modified (diff)

I modified the description to redirect the fix to the Apache + WSGI docs.

comment:4 Changed 5 years ago by Tim Graham

Resolution: needsinfo
Status: newclosed

I don't know of a case where DocumentRoot is required to serve static assets under mod_wsgi. If there is one, please re-open with details.

Note: See TracTickets for help on using tickets.
Back to Top