Edgewall Software

Opened 17 years ago

Last modified 17 years ago

#4375 closed defect

Login doesnt work — at Version 1

Reported by: tobyf@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.2
Severity: normal Keywords: login
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

Maybe I'm just to stupid:

  • This config will work:
    <VirtualHost 83.151.25.254:80>
        DocumentRoot /home/oh-dev/tobyf.de/trac
        ServerName oh-trac.tobyf.de
        ServerAdmin webmaster@tobyf.de
    
        <Location "/">
            SetHandler mod_python
            PythonHandler trac.web.modpython_frontend
            PythonOption TracEnv /home/oh-dev/tobyf.de/trac
            PythonOption TracUriRoot /
            PythonDebug on
    #    </Location>
    
    #    <Location "/login">
            AuthType Basic
            AuthName "OpenHope Teambereich"
            AuthUserFile /home/oh-dev/tobyf.de/trac/trac_login
            Require valid-user
        </Location>
    
        ErrorLog /var/log/apache2/error.trac.log
        CustomLog /var/log/apache2/access.trac.log combined
    </VirtualHost>
    
  • This one not:
    <VirtualHost 83.151.25.254:80>
        DocumentRoot /home/oh-dev/tobyf.de/trac
        ServerName oh-trac.tobyf.de
        ServerAdmin webmaster@tobyf.de
    
        <Location "/">
            SetHandler mod_python
            PythonHandler trac.web.modpython_frontend
            PythonOption TracEnv /home/oh-dev/tobyf.de/trac
            PythonOption TracUriRoot /
            PythonDebug on
        </Location>
    
        <Location "/login">
            AuthType Basic
            AuthName "OpenHope Teambereich"
            AuthUserFile /home/oh-dev/tobyf.de/trac/trac_login
            Require valid-user
        </Location>
    
        ErrorLog /var/log/apache2/error.trac.log
        CustomLog /var/log/apache2/access.trac.log combined
    </VirtualHost>
    

I'm using Debian Edge with Apache 2.2.

All I get using the lower config is

Internal Error

Authentication information not available. Please refer to the installation documentation.

I have check all logs and found nothing relevant, whether in apache-logs nor in trac-logs.
If I move the installation to another path, eg. oh-trac.tobyf.de/trac it will work.

I think this is a very strange behaviour, maybe I made something wrong?

Change History (1)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)

(fixing description)

Note: See TracTickets for help on using tickets.