Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#22062 closed Bug (fixed)

Problem in modwsgi deployment document

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

Description

Hello,

I spent 10 hours trying to figure out why my static files weren't properly being pulled into my app, despite following all the instructions on the "serving files" part of this page:

https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/modwsgi/#serving-files

I finally realized it was because "Allow from all" in your example needed to be "Require all granted" as is outlined in the example at the top of the page. It was very frustrating trying to work this out, and I strongly recommend consistency between the two examples.

Thanks!

Change History (4)

comment:1 Changed 3 years ago by Tim Graham

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:2 Changed 3 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In ffa238c3f781b064e5c0cfd0b40d1a7da9d84a49:

Fixed #22062 -- Corrected static files config for Apache >= 2.4

comment:3 Changed 3 years ago by Tim Graham <timograham@…>

In c888bee8363be84963b0b401279d418d27f6f2b3:

[1.5.x] Fixed #22062 -- Corrected static files config for Apache >= 2.4

Backport of ffa238c3f7 from master

comment:4 Changed 3 years ago by Tim Graham <timograham@…>

In a088ce90f2495d6da8678f60454ac427167de6bf:

[1.6.x] Fixed #22062 -- Corrected static files config for Apache >= 2.4

Backport of ffa238c3f7 from master

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