On 10/3/06, Paulo Alexandre Freire <[EMAIL PROTECTED]> wrote:
>
> Hello again
>
> Jason- when i try to access the Rss XML Url with the browser it asks no
> authentication, instead it downloads a file with no extension type,
> witch I can't open with any of the readers.
>
> Rob- that would be great.
>
> Meanwhile, I gave permissions to the "anonymous" user for TIMELINE_VIEW,
> TICKET_VIEW, REPORT_VIEW, CHANGESET_VIEW, LOG_VIEW, MILESTONE_VIEW, and
> WIKI_VIEW, and now its possible to receive the feeds.
> But this must be changed.
>
> Another doubt that I have: Is it possible to receive feeds only from
> specific wiki pages instead of all? Trough some kind of macro in the
> page or something?
>
> Thanks all
> Paulo

Hey Paulo -

Instead of modifying my permissions, I chose to consume an
authenticated feed.  If that was all you needed then you probably
already have the URIs accessible through the web server.  That was the
part I was missing.  To fix, I needed to add the location blocks
below.
I wanted access to 2 feeds: one to track source code changes to the
trunk and another to track several changes in the timeline.

# This block allows me access to the revision log feeds
<Location "/projects/myproject/log">
   AuthType Digest
   AuthName "ProjectName"
   AuthDigestDomain /projects/myproject/
   AuthDigestProvider file
   AuthUserFile /opt/projects/users.htdigest
   BrowserMatch "(MSIE|^FeedDemon)" AuthDigestEnableQueryStringHack=On
   Require valid-user
</Location>

# This block allows access to timeline feeds
<Location "/projects/myproject/timeline">
   AuthType Digest
   AuthName "ProjectName"
   AuthDigestDomain /projects/myproject/
   AuthDigestProvider file
   AuthUserFile /opt/projects/users.htdigest
   BrowserMatch "(MSIE|^FeedDemon)" AuthDigestEnableQueryStringHack=On
   Require valid-user
</Location>

Note that I've left user authentication enabled (I don't want these
feeds available publicly).  The feed reader I use (FeedDemon) also
uses IE by default so I had to include an IE hack in my config.

I hope this helps.

Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to