Opened 3 years ago

Closed 2 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 aaugustin)

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. (https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/)

Change History (4)

comment:1 Changed 3 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 3 years ago by carljm

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 3 years ago by aaugustin

  • Description modified (diff)

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

comment:4 Changed 2 years ago by timo

  • Resolution set to needsinfo
  • Status changed from new to closed

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