Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4147 closed defect (wontfix)

Problem with authentication on multiple projects under mod_python.

Reported by: var@… 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 Emmanuel Blot)

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 Emmanuel Blot, 18 years ago

Description: modified (diff)

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.

comment:2 by Christian Boos, 18 years ago

Resolution: wontfix
Status: newclosed

… 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…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.