September 15, 2010

164 words 1 min read

RT, WebExternalAuth and SpeedyCGI don’t mix

The title basically sums it all up.  I made the mistake of setting up a new install of Request Tracker (RT), against a server running SpeedyCGI.  I’ll be honest, it’s been so long since I’ve run any perl apps, that I had no idea what interface to pick.  Anyways, on top of the RT/SpeedyCGI I wanted to use my Apache mod_ldap, like I did with WebDAV.

I spent a number of hours attempting to debug why it wasn’t working.  I added Set($WebFallbackToInternalAuth , 0); which should have prevented the normal RT login screen from showing up.  Even with that, and myself authenticated to Apache, I got a proper login screen.  I tried every combination of WebExternalAuth options, all to no avail.  Eventually, I had to ask the rt-users mailing list in which they informed me that almost no one uses SpeedyCGI.

I switched over to mod_perl2 and BAM, it worked the first try.  So… don’t use WebExternalAuth with SpeedyCGI – it just doesn’t work.