ServerName lists.example.com
DocumentRoot /var/www/lurker/
ScriptAlias /cgi-lurker /usr/local/lib/cgi-bin
Options +Indexes
Options -Indexes
# set access control here
Order allow,deny
Allow from all
AddType text/xml .xsl
AddType text/xml .xml
AddType message/rfc822 .rfc822
AddDefaultCharset UTF-8
# invoke lurker if the requested file does not exist
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(attach|list|mbox|message|mindex|search|splash|thread|zap)/[^/]+$ /cgi-lurker/lurker.cgi [L,PT,E=LURKER_CONFIG:/usr/local/etc/lurker/lurker.conf,E=LURKER_FRONTEND:%{REQUEST_FILENAME}]