Search code examples
apacheauthorizationtrac

How to decouple trac from, or align trac with, apache authorization


I've had a trac server running for about a year now - chugging along just as expected. Today, I implemented basic authorization on the apache server that trac runs under.

Trac now picks up the user as authenticated by Apache, and doesn't allow either logout or a login.

I tried to create an apache user with the same name and password as a trac user, but the behavior remained - I can't access trac.

How do I align trac with Apache authorization?


Solution

  • You will need to point trac to the htpasswd file for Apache users and then set permissions to access the login page through Apache. You can find more information here.