Opened 20 years ago
Closed 20 years ago
#2376 closed defect (duplicate)
unable to authenticate with apache
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Hey im using trac 0.9 with apache 2 and currently im unable to get it to offer authentication for the /login the error i get from trac is this
No handler matched request to /error/HTTP_UNAUTHORIZED.html.var
my virtual host configuration looks like this
<VirtualHost *>
DocumentRoot C:/wiki/cpanelapache
ServerName wiki.lvlymatt.uni.cc
<Directory />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv C:/wiki/cpanelapache
PythonOption TracUriRoot /
</Directory>
<Location "/login">
AuthType Basic
AuthName "Developers wiki login"
AuthUserFile "C:/etc/wiki"
Require valid-user
</Location>
</VirtualHost>
Attachments (0)
Change History (4)
comment:1 by , 20 years ago
| Description: | modified (diff) |
|---|---|
| Priority: | high → normal |
| Summary: | unbale to authenticate with apache → unable to authenticate with apache |
comment:2 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Thanks already found a solution the work around was to add ErrorDocument 401 default inside the virtualhost container.
comment:3 by , 20 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Please only used the "fixed" resolution for issues that required a code change to resolve.
comment:4 by , 20 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | reopened → closed |
This is a duplicate of #2371.



(fixing description and summary)
I think you may ask for help on the mailing list first, as it seems to be a configuration issue.