I have the following problem: I have setup multiple trac projects using mod_python. Authentication works fine for the first project I setup but does not work for the second. See traceback at the end. I configured the projects in the same way, only the paths and the AuthName changed.
<Location "/trac/frasv001/login"> AuthType Basic AuthName "frasv001" AuthUserFile "d:/frasv001/cfg/trac/auth/frasv001.htpasswd" Require valid-user </Location> Anyone have an idea what is happening? Btw, PythonOption TracEnvParentDir does not work for me, I had to add import os os.environ['TRAC_ENV_PARENT_DIR'] = "d:/trac" in the .cgi script to work around that. Here's my location definition: <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> I'm running Apache 2.059 with mod_python 2.310 and python 2.3.5 on windows 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---