Edgewall Software

Ticket #4375 (closed defect: wontfix)

Opened 2 years ago

Last modified 20 months ago

Login doesnt work

Reported by: tobyf@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.2
Severity: normal Keywords: login
Cc:

Description (last modified by eblot) (diff)

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?

Attachments

Change History

Changed 2 years ago by eblot

  • description modified (diff)

(fixing description)

Changed 2 years ago by eblot

Did you try to swap the order of appearance of / and /login sections?

I don't think the second section (/login) is used, as the first directive is a catch-all one.

Changed 2 years ago by eblot

BTW this is an installation issue and should therefore be reported on the MailingList first - not filled in as a ticket - as detailled in the New Ticket web page...

Changed 2 years ago by tobyf@…

I tried nearly everything (yes, I swapped them!). I've also used LocationMatch.
To check if this Location /login Part is working, I added a Redirect to it and this one worked.
I guess that somehow the Apache ignores the Auth. But everywhere else on my server Auth works perfectly.
Sorry, I missed the part with the MailingList, I'm pretty frustrated right now. :(

Changed 20 months ago by cboos

  • status changed from new to closed
  • resolution set to wontfix

Right, you should have tried the MailingList, as you'll reach many more people susceptible to help there...

Add/Change #4375 (Login doesnt work)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.