Opened 18 years ago
Closed 18 years ago
#4147 closed defect (wontfix)
Problem with authentication on multiple projects under mod_python.
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Installation of mod_python 3.2.10/ Python 2.3.5/Apache 2.0.59/Subversion 1.4.0
Apache Configuration is
<Location /trac> SetEnv TRAC_ENV_PARENT_DIR "d:/trac" SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir "d:/trac" PythonOption TracUriRoot /trac </Location> <LocationMatch "/trac/[^/]+/login"> AuthType Basic AuthName "TRAC" AuthUserFile "d:/frasv001/cfg/trac/auth/trac.htpasswd" Require valid-user </LocationMatch>
There are two project environments. The one project environment is accessed properly and with no problems. The second one generates the following error:
Python Traceback
Traceback (most recent call last): File "D:\dev\Python23\lib\site-packages\trac\web\main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "D:\dev\Python23\lib\site-packages\trac\web\main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "D:\dev\Python23\lib\site-packages\trac\web\auth.py", line 95, in process_request self._do_login(req) File "D:\dev\Python23\lib\site-packages\trac\web\auth.py", line 116, in _do_login assert req.remote_user, 'Authentication information not available.' AssertionError: Authentication information not available.
The main difference is that the first project environment is a 0.9.0 environment migrated to 0.10, while the other one is new.
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|
comment:2 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
… and the 5 months elapsed without an answer kind of prove eblot's point: installation issues are best asked on the mailing list first, as the list is read by many people who might share there various experience with installing Trac.
If nobody answers or can propose a solution there, then it might still be possible to create a ticket suggesting there's a bug somewhere…
Side note: this seems to be an installation issue, and as stated in the New Ticket web page, installation issues should first be asked in the MailingList or on #IRC.