File: apache.conf.in

package info (click to toggle)
lurker 2.1-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,800 kB
  • ctags: 1,088
  • sloc: cpp: 10,527; sh: 1,348; xml: 1,278; perl: 206; makefile: 198
file content (22 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Sample configuration for apache with lurker
# Install as @DEFAULT_CONFIG_DIR@/apache.conf
# Then 'include' it in your apache configuration

ScriptAlias /cgi-lurker @CGI_BIN_DIR@
Alias /lurker @DEFAULT_WWW_DIR@

<Directory @DEFAULT_WWW_DIR@>
  # 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:@DEFAULT_CONFIG_DIR@/lurker.conf,E=LURKER_FRONTEND:%{REQUEST_FILENAME}]
</Directory>