Hi,

I'm migrating a trac project from windows to debian. I used the
standalone deamon from trac on my windows machine but I'm now planning
to use the mod_python module of apache for the debian machine... 
Sadly, I'm having prolblems with authentication. When I run trac as a
standalone server, and it worked fine on my debian system. In apache
there seems to be a password problem. 

I installed trac on a debian etch system. I followed this howto:
http://trac.edgewall.org/wiki/TracModPython

These are my settings:

sites-available/default:
# cat default
NameVirtualHost *
<VirtualHost *>
        ServerAdmin [EMAIL PROTECTED]

        DocumentRoot /var/www/trac
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error,
crit,
        # alert, emerg.
        LogLevel debug

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

<Location /vrt-medialab>
   SetHandler mod_python
   PythonPath "sys.path + ['/var/www/trac/vrt-medialab']"
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /var/www/trac/vrt-medialab
   SetEnv PYTHON_EGG_CACHE /tmp
</Location>

<Location /geisha>
   SetHandler mod_python
   PythonPath "sys.path + ['/var/www/trac/geisha']"
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /var/www/trac/geisha
   SetEnv PYTHON_EGG_CACHE /tmp
</Location>


<LocationMatch "/[^/]+/login">
  AuthType Basic
  AuthName "trac"
  AuthUserFile /var/www/trac/users.txt
  Require valid-user
</LocationMatch>
</VirtualHost>

# cat /var/www/trac/users.txt
MYUSERNAME:trac:MYDIGEST


This is what I find in the error.log of apache:
[Mon Oct 08 12:13:47 2007] [error] [client 10.100.1.58] user MYUSERNAME:
authentication failure for "/geisha/login": Password Mismatch, referer:
http://trac.vrt-medialab/geisha/

Can you tell me what I did wrong?


Kind regards,

Koen Segers
*** Disclaimer ***

Vlaamse Radio- en Televisieomroep
Auguste Reyerslaan 52, 1043 Brussel

nv van publiek recht
BTW BE 0244.142.664
RPR Brussel
http://www.vrt.be/disclaimer
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to