Code

Opened 5 years ago

Closed 4 years ago

#10937 closed (fixed)

Recommendation of mod_wsgi is incompatible with apache-authentication technique described in docs

Reported by: dirk@… Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: deployment mod_python mod_wsgi
Cc: sam@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I found this documentation about authenticating in apache using Django
http://docs.djangoproject.com/en/1.0//howto/apache-auth/#howto-apache-auth

However, since Django is now recommending mod_wsgi in favor of mod_python, the techniques described here no longer work (if mod_python is not installed).
I don't know enough of mod_wsgi or mod_python to have a solution – I suggest you ask Graham for this –, but at least change the docs to mention that you'll need mod_python installed instead of mod_wsgi for this to work.

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by grahamd

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

See:

http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms

I believe there may be a separate Django ticket somewhere already about documenting how to do the authentication against Django when using mod_wsgi.

Do note though that that access control mechanism works in embedded mode. If you are running Django in daemon mode it would be a bit stupid to be doing it that way.

comment:2 Changed 5 years ago by Alex

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 4 years ago by davidfischer

There is some crossover here between this ticket and #10809. I think the fix for that ticket should cover this ticket as well.

comment:4 Changed 4 years ago by gabrielhurley

  • Keywords deployment added

comment:5 Changed 4 years ago by ramiro

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

Fixed in r13648.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.