I just tried to set up the basic authentication outlined here: http://docs.webfaction.com/software/django/config.html#password-protecting-a-django-application in httpd.conf in my django project, i added: LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authz_user_module modules/mod_authz_user.so and lower added: <location/> AuthType Basic AuthName "Authentication Required" AuthUserFile "/path/to/.htpasswd" Require valid-user </location> I also tried including: WSGIPassAuthorization On I created a new user, and when prompted with the login, i enter the username and password. this brings me to an internal server error page. what is the problem? asked 17 May '11, 23:46 Pat B |
What does the log say? It should be located in ~/logs/. Internal Server errors are logged most of the time. answered 18 May '11, 00:06 johns httpd.pid in ~/logs/ says "1144"... is that an error code?
(18 May '11, 00:09)
Pat B
There should be more info, The log would be either ~/logs/frontend/error_appname.log or ~/logs/user/error_appname.log, depending on where the error is occurring in the stack.
(18 May '11, 00:18)
johns
|
solved: I had not replaced some <non literals=""> with the appropriate things