The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Apache::RSS - generate RSS output for directory Index.


setup your httpd.conf

 PerlModule Apache::RSS
 <Diretory /path/to/htdocs>
 Options +Indexes
 PerlHandler Apache::RSS
 RSSEnableRegexp \.html$
 RSSScanHTMLTitle On
 RSSEncoding UTF-8
 RSSEncodeHandler Apache::RSS::Encoding::JcodeUTF8

and access with QUERY_STRING index=rss



Apache::RSS generate RSS output of directory Index. Just like a mod_index_rss.


RSSEnableRegexp <regexp>

A regular expression of files which added in RSS. default .*

RSSChannelTitle <title>

set channel Title. default "Index Of uri"

RSSChannelDescription <description>

set channel description. default "Index Of uri"

RSSCopyRight <copyright>

set CopyRight string. default "CopyRight current_year hostname"

RSSLanguage <language>

set RSS language. default en-us

RSSEncoding <encoding>

set RSS encoding. default UTF-8

RSSScanHTMLTitle <On|Off>

scan HTML files and set HTML <title> as RSS <title> or not. default Off

RSSEncodeHandler <EncodeHandlerClass>

works with RSSScanHTMLTitle and encode HTML title string. see Apache::RSS::Encoding::JcodeUTF8 for details.


This module supports query string option to configure the order of items in generated RSS file. Options are subset of those for mod_auto_index. For example, accessed with


generated RSS will put items order by mtime desc. default is N=A.


IKEBE Tomohiro <>

Tatsuhiko Miyagawa <>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


XML::RSS, mod_perl