[rt-users] RSS Feed Permissions/Authentication problem (Repost)

Jesse Vincent jesse at bestpractical.com
Fri Nov 23 11:53:55 EST 2007




On Wed, Nov 21, 2007 at 08:48:11AM +0100, Torben Nehmer wrote:
> Hi there,
> 
> >> does anybody have any idea here, would it be possible to move the 
> >> RSS streams to HTTP Basic Authentication?
> >
> > In advance, I apologize for not having tested this myself with RT. The 
> > following is just wild guessing but it's probably the way I'd try to 
> > go if I had to (and I actually do so in other frameworks): 
> >
> > You could try to retrieve the RSS data "off-line" by means of some 
> > command-line tool. Then let your WWW server do the authentication. 
> > I am using a method called screen scraping by means of Perl's 
> > WWW::Mechanize. WWW::Mechanize is old but still does a good job.
> > http://www.google.com/search?q=WWW%3A%3AMechanize+Screen+scraping
> 
> This is an interesting idea, I will think about this.
> 
> Nevertheless I would prefer it, if RT would support HTTP Basic Auth for RSS Feeds out of the box, it shouldn't be that hard to implement (if one knows RT and Perl that is ;-)). 

Actually, Apache prevents CGI/FastCGI scripts from doing their own HTTP Basic Auth. To enable it, you need to recompile apache. (It's not at all configurable.) We did this for RT 1.0 and I vowed never again ;)

-j



More information about the rt-users mailing list