Opened 18 years ago
Closed 18 years ago
#4375 closed defect (wontfix)
Login doesnt work
Reported by: | 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 )
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 (0)
Change History (5)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|
comment:2 by , 18 years ago
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.
comment:3 by , 18 years ago
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…
comment:4 by , 18 years ago
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. :(
comment:5 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Right, you should have tried the MailingList, as you'll reach many more people susceptible to help there…
(fixing description)