Wusage 7.1 Manual: allow

You are looking at the manual for Wusage 7.1. This product is three years old! Check out Wusage 8.0 and its remarkable new features.

Wusage 7.1 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.


Table of Contents
Topical Configuration Editor Reference
Alphabetical Configuration Editor Reference
Alphabetical Configuration File Reference
Glossary of Frequently Used Terms

Contact Us

Follow us on Twitter | Contact Us

Copyright 1994-2012 Boutell.Com, Inc. All Rights Reserved.