Wusage 8.0 Manual
allow Option
To reach this option in the configuration file editor,
follow these steps:
1. Edit Configuration
2. Configure Filters...
3. Allowed Documents...
If you prefer to manually edit your configuration files,
use the following syntax for this option:
Example
#First example: match everything (this is the default)
allow
*
end allow
#Second example: a pattern matching only things beginning with /~boutell
allow
/~boutell*
end allow
#Third example: a pair of regular expressions, matching HTML
#documents and directory indexes (paths ending in /, or in
#a directory name with no extension)
allow
@.html$
@/[A-Za-z]*$
Description
The Allowed Documents (allow) option indicates which documents
will be considered by wusage. Documents that
do not match any of the patterns listed
for the Allowed Documents (allow) option will be
ignored completely by wusage. Each character
of the document name is matched against the pattern.
An * in the pattern matches any
number of characters in the document name.
Patterns have additional features, including support for regular expressions; for more information about
patterns and regular expressions, see the
Patterns and Regular Expressions
section.
Note that the Remove These Suffixes (suffixes) option is applied first.
If the Allowed Documents (allow)
option is absent, all documents will be allowed.
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Boutell.Com, Inc.
wusage@boutell.com
Boutell.Com, Inc - PO Box 16716, Seattle WA, 98116, USA
Phone/Fax +1 206 658-8176
|