nbenedek 9efc56368c
rssbridge: New app to generate RSS feeds for websites
[sunil: Update description for simplicity, group info]
[sunil: Indentation fixes]
[sunil: End all URLs with a slash]
[sunil: Update frontpage shortcut to be a simple one]
[sunil: Enable single-sign-on for main interface only]
[sunil: In copyright file, merge with public-domain section]
[sunil: Simplify and vectorify the icon]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-07-17 09:04:48 -07:00

22 lines
716 B
Plaintext

##
## On all sites, provide RSS-Bridge on a default path: /rss-bridge
## Allow valid LDAP users from groups 'feed-reader' and 'admin'.
##
Alias /rss-bridge /usr/share/rss-bridge
<Location /rss-bridge>
<If "%{QUERY_STRING} =~ /format=[^H]/">
# Formats: Atom, Json, Mrss and Plaintext
Include includes/freedombox-auth-ldap.conf
Require ldap-group cn=admin,ou=groups,dc=thisbox
Require ldap-group cn=feed-reader,ou=groups,dc=thisbox
</If>
<Else>
# Formats: Html and all other pages
Include includes/freedombox-single-sign-on.conf
<IfModule mod_auth_pubtkt.c>
TKTAuthToken "feed-reader" "admin"
</IfModule>
</Else>
</Location>