~ubuntu-branches/ubuntu/vivid/lurker/vivid

« back to all changes in this revision

Viewing changes to apache.conf.in

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Meurer
  • Date: 2006-12-20 05:05:31 UTC
  • mfrom: (3.1.6 feisty)
  • Revision ID: james.westby@ubuntu.com-20061220050531-79inzy7o6uu95qx7
Tags: 2.1-7
* updated vi debconf translations, thanks to Clytie Siddall
  <clytie@riverland.net.au>
* fixed typo in one template (that you would like, not that
  would you like), thanks as well to Clytie Siddall
  - unfuzzied all translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Sample configuration for apache with lurker
 
2
# Install as @DEFAULT_CONFIG_DIR@/apache.conf
 
3
# Then 'include' it in your apache configuration
 
4
 
 
5
ScriptAlias /cgi-lurker @CGI_BIN_DIR@
 
6
Alias /lurker @DEFAULT_WWW_DIR@
 
7
 
 
8
<Directory @DEFAULT_WWW_DIR@>
 
9
  # set access control here
 
10
  Order allow,deny
 
11
  Allow from all
 
12
  
 
13
  AddType text/xml .xsl
 
14
  AddType text/xml .xml
 
15
  AddType message/rfc822 .rfc822  
 
16
  AddDefaultCharset UTF-8
 
17
  
 
18
  # invoke lurker if the requested file does not exist
 
19
  RewriteEngine on
 
20
  RewriteCond %{REQUEST_FILENAME} !-s
 
21
  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}]
 
22
</Directory>