swish.conf.in 860 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
IndexFile @prefix@/www/site.index
IndexDir @prefix@/www
ReplaceRules remove @prefix@/www/

DefaultContents TXT
IndexContents HTML .htm .html
IndexContents TXT  .txt .text

# Don't index any directories of these directories
FileRules dirname contains /webglimpse
FileRules dirname contains /images
FileRules dirname contains /thumbs
FileRules dirname contains /dev/
FileRules dirname contains /downloads
FileRules dirname contains /distributions
FileRules dirname contains /bugtrack
Leigh B. Stoller's avatar
Leigh B. Stoller committed
17
FileRules dirname contains /netlab
18

19
# Sigh, special case. Sorry.
Leigh B. Stoller's avatar
Leigh B. Stoller committed
20
FileMatch filename contains xmlrpcapi.php3 client.php3 mobilewireless.php3
21

22
# But only index the .html files
23
IndexOnly .html
24
25
26
27
28
29
30
31
32

# Show basic info while indexing
IndexReport 1

MetaNames swishtitle swishdocpath swishdescription
PropertyNames swishdescription

StoreDescription HTML <body>
StoreDescription TXT 10000