~ubuntu-branches/ubuntu/gutsy/lurker/gutsy

« back to all changes in this revision

Viewing changes to apache.conf.in

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Meurer
  • Date: 2006-03-20 21:28:45 UTC
  • mto: (3.1.4 dapper)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060320212845-tl6ogereetn6oonn
Tags: upstream-2.1
ImportĀ upstreamĀ versionĀ 2.1

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>