Version 2.5.0
[Table of Contents]
WN Documentation Search Results -- Matches
You may select a new search term and repeat your search:
Matches
Here are the matching lines in their respective document sections.
Select one of the highlighted words in the matching lines below to jump
to that point in the document.
- Title: How the Index to WN User's Guide Works
Matching lines:
- server returns a list of all files in the directory with matches, with a
- Title: User's Guide for the WN Server
Matching lines:
- Directory
- The Directory Record
- Search a Directory or Search a
- Directories
- rect
- Appendix B: Index File Directives for the
- Directory Directives
- File Directives
- Conditional Redirecting
- Title: An Overview of the WN server
Matching lines:
- keep this information in small databases, one for each directory in the
- directory has been granted). This is the basis of WN security.
- programs located in particular designated directories. The location of a
- /dir and designated subdirectories for a items whose
- text/* documents in one directory (not subdirectories).
- /dir is any directory containing files to be served and an
- be denied for any directory or any file contained in that directory.
- Title: Installation and Setup of WN
Matching lines:
- WN source directory hierarchy. The file must be uncompressed
- the directory created by untarring this file contains several
- directories, including: wn, wndex,
- which is in the main source directory. Do this with the command:
- you are using and the path to the directory you want to be the
- produced (if it still exists in the top level directory).
- will be asked the complete path name of your data directory. You will
- a directory where the server has permission to create them.
- directory. In particular you should do this if you wish to specify a C
- they are incorrect please let me
- In the top level directory do a
- and place them in the top level bin directory or whatever
- directory you specified when you ran the
- An alternative is to create a directory in which these files will reside
- files in this directory. Then the server will create the files with
- on logging or use a different data directory. Some inetd(8)
- clients often implement redirection so that it cannot handle relative but
- a server redirects to another local document it must supply its own
- For most cases then, WN only uses it hostname when a redirection
- a request is made for a directory any the trailing '/' is
- Maximum number of matches per file exceeded.
- Title: Creating your WN data directory
Matching lines:
- Creating your WN data directory
- Creating Your WN Data Directory
- In each directory of your data hierarchy you create a file called
- any file in the directory (but not in subdirectories). For more
- information about this directive see the section on the
- describes properties of the directory and is called the
- directory record. It can be empty, but in
- general it is a good idea for the directory record to contain an owner
- line, like the one above, referring to the maintainer of the directory.
- soundfile, in the directory which we wish to serve. The line
- about this directory and its contents. Detailed information on the
- running it with no arguments in a directory containing an
- for that directory. This file contains all the information in the
- everything in a directory should be owned by the maintainer of that
- directory and the only permission nobody should have for
- wndex with no arguments in a directory containing a file
- index.cache to be created in that directory.
- subdirectories listed in the
- directory record in the index.wn file (
- a directory other than the current directory in which to find the
- Maximum number of matches per file exceeded.
- Title: Security on the WN Server
Matching lines:
- in each directory of its data hierarchy which contains information about
- files to be served from that directory. In particular no document can be
- WN Data Directory" in this guide.
- hierarchy. For example an incoming anonymous ftp directory should
- directory database files (these files have the default name
- linked to document is in a directory with limited
- write permission for any directory or file other than its log files. If
- internally accessing any file which is not in your data directory. If
- have a home page in their home directory or in some other designated
- protected directory owned by the trusted user or group. This is to guard
- significantly improve security of password protected directories.
- The directive "
- Title: Setting Up Searches on the WN Server
Matching lines:
- subdirectories for a items whose titles contain a match for the search
- menu of these items is returned. Subdirectories are designated for
- recursive searching by an entry in directory record of the
- directories have restricted access, only
- those directories which have the same access file or the same
- password realm as the directory where
- Accessfile=" directive
- is used the path must be the same for both directories (and must
- "text/*" documents in one directory (not subdirectories).
- Searchwrapper directive.
- grep search on the files in directory dir use:
- search on the files in directory dir use:
- will want to use a Searchwrapper directive
- 5.9 Search a Directory or Search a Hierarchy?
- subdirectories listed in a "
- Subdirs=" directive and
- searches files in the one directory specified in the search.
- where /dir is any directory containing files to be served
- permission can be denied for any directory or any file contained in that
- directory.
- Maximum number of matches per file exceeded.
- Title: Parsed Text and Server Side Includes on the WN server
Matching lines:
- successful search matches. If, for example, a directory is assigned a
- Includes=" directive in
- directory containing foo.html. That
- Includes=" directive can
- Includes=" directive,
- The order of the files listed in the directive is not significant. The
- Includes=" directive only
- (in order) from the list in the directive, while with the "
- directive the HTML must contain
- directive is checked to see that permission to serve this file has been
- directive you cannot also use either the "
- Wrappers=" directives --
- Includes=" directive, but
- with that directive the "bar.html" is only a comment and has
- directory directive which can be used to grant permission for any
- HTML file in the directory to
- HTML files in the directory to
- Includes=" directive but
- and use the directive "
- There is also a redirect command
- Maximum number of matches per file exceeded.
- Title: Filters on the WN server
Matching lines:
- Filter=" directive in the
- directive takes the value of a path to a file in three different forms.
- directory containing the
- The directory directive:
- specifies that files in this directory should all be treated as if the
- directive had been set to /path2/filter. To override this
- directive.
- line in the directory's
- directive must be used since otherwise the server will not permit a
- Title: Limiting Access to Your WN Hierarchy
Matching lines:
- entire hierarchy you must restrict access to each of its subdirectories.
- Warning: If access to a directory is restricted by either of the
- ways described here the restrictions affect only that one directory and
- not its subdirectories.
- index.wn file for a directory.
- In the directory directive part of an
- allowed to access this directory. The
- Accessfile= directive
- to the directory containing the
- directive occurs. In particular the access file must be located within
- directive is used in a directory with restricted access be sure the
- better, put it in a directory from which nothing is served.
- Also note that limiting access to this directory does not limit access to
- subdirectories. The
- of each directory you want restricted. Of course, they can all refer to
- the same file. To use the same file for several directories be sure to
- form of the directive so the line can be the same for every
- Accessfile= directive.
- directories have restricted access only those directories which have the
- same access file as the directory where the search started will be
- Maximum number of matches per file exceeded.
- Title: Users' Hierarchies and Personal Home Pages on the WN server
Matching lines:
- password file to calculate a "home page" directory in the appropriate
- user's home directory. The second uses a table lookup to change the
- server root directory to one specified by the maintainer. Both of these
- Directories
- subdirectory of the home directory of user "john".
- system password file and changes the root data directory to
- is "john's" home directory) and simultaneously deletes the
- "http://hostname/foo.html" with root directory
- "/~" and the subdirectory "public_html" are
- and their corresponding data hierarchy directories.
- directory set to "/home/bob/public_html". The file
- data directory. Of course, the name need not be the name of a user. One
- directory "/home/john/public_html".
- When you use the table lookup method to retarget data root directories of
- user hierarchies, you can specify a directory that is not even on the
- the user's data root directory. For example, if user "jim"
- the server will return a redirect to the client for
- Title: Multi-homed or Virtual Servers on the WN server
Matching lines:
- user home directories are not permitted
- use the root data directory you specified for that host name. Similarly
- server will use the root data directory corresponding to
- the server will use the first root data directory whose IP number matches
- host instead of "123.123.121.1", the correct system path to
- the use of any user home directories for
- equivalent and give the default behavior which allows serving from user home directories
- ways: when a redirect header is sent, and to pass the correct server host
- Title: WN Utility Programs
Matching lines:
- program which can be found in the bin directory of the distribution. This
- current directory, one per line, in the order which should be reflected
- directory. The index to this guide is a good
- The -d option should be the directory containing the files
- relative to the WN root directory or not begin with a
- '/' and be relative to the directory which will contain the
- directory as the files being indexed. If this is done then it is a good
- directory. Otherwise docindex.html will index itself in
- addition to the other files in the directory.
- for use with WN. It's function is to automatically redirect
- requests for documents in one directory to requests for other URL's. If
- directory then every request for something in that directory will be
- redirected to a request for http://host/dir/foo.html.
- will be redirected to http://host/dir/whatever.html. These
- can be useful if you move the contents of an entire directory.
- Title: WN Auxiliary Modules
Matching lines:
- The index.cache in each directory is in fact a small flat
- database containing characteristics of that directory and the files
- contained in it. This can be replaced on a per directory basis by a user
- directory you should create a directory
- directive entry like:
- "File=" directives in
- directive will be ignored.
- about the request. If you put the directive "
- directive then all the CGI environment
- directory you should create a directory
- directive entry like:
- directory directive "
- put the directive "
- File-Module=" directive
- directory requiring authorization should contain lines like:
- in the directory record you should have a line like:
- directory directive. If it is not, a default wrapper with text like
- Title: Clickable Images and Imagemap files on the WN Server
Matching lines:
- URL to which the client should be directed after clicking in one of these
- (like a rectangle) the URL to go to and the pixel coordinates necessary
- to specify the rectangle.
- In the index file for the directory containing the image (let's call it
- If your imagemap file redirects the client to other documents on your
- directive is specified for this directory and there is no entry in the
- the directory containing it.
- file containing this link are all in the same directory.
- default, rect, circle,
- 15.2.2 rect keyword
- This line contains the keyword "rect" followed by white
- coordinates of the upper left and lower right corners of the rectangle.
- When the coordinates of the clicked on point lie within the rectangle
- rect http://webhost/dir/rect.html 20,20 70,100
- Note the coordinates of the rectangle corners consist of the X coordinate
- returned if the clicked on point lies in the rectangle with opposite
- http://remote_host/dir/rect.html
- /dir/rect.html
- rect.html
- "http://remote_host/dir/rect.html" is primarily used to link
- Maximum number of matches per file exceeded.
- Title: Using CGI Programs on the WN Server
Matching lines:
- The second mechanism is to have specially named directories with the
- property that any file in that directory will be assumed to be a CGI
- Thus, if you have a directory /cgi-bin in your hierarchy the
- server will assume that any file served from that directory is a CGI
- program. Of course, as always, only files listed in that directory's
- servable. No files in subdirectories of /cgi-bin can be
- "foo" is actually a directory and "bar" a file
- have as many directories named "cgi-bin" as you like. They
- /docs/examples directory of the WN distribution.
- directive had been used. The "
- directive. Also if you wish it to be cached you must use the "
- directive. In particular, if you want the browser "back" button to
- server will change the current working directory of the CGI process to
- the directory in which the CGI program is located.
- maintainer to set it to a file of her choice or leave it directed to the
- console window in which wnsd was invoked. To redirect it to
- The file directive:
- directory to be handled by the same CGI program. Note the file
- The directory directive "
- specifies that all files in the directory should be treated as if the
- Maximum number of matches per file exceeded.
- Title: Default Index Cache Files
Matching lines:
- file from a directory unless there is a Cache file in that
- directory that authorizes the serving of that file. Default
- directory is not viable.
- can be bypassed through the incorrect use of Default Cache
- directory from which you wish to serve documents.
- users establishing links to directories/files outside the web
- in every directory, that may be tedious to setup and maintain.
- # Default cache file for a single directory
- # Default cache file for user home pages in sub directories
- The first entry on each line is a directory in the web space
- cache file must be in a directory in the WN data
- /www/docs/pub and its subdirectories will use the
- anything in public_html directory inside a user home directory
- pages must have a cache file in the directory of the requested
- default cache file. Subdirectories must have their own cache
- could be split into multiple directories - each having two
- characters in their names (e.g., 00 - 99). Other directories
- If a cache file exists in a directory it will always be used in
- It is possible for a directory to use a default cache file and a
- subdirectory to use a real cache file. If a directory matches more
- Maximum number of matches per file exceeded.
- Title: Configuration File for the WN Package
Matching lines:
- of this file per the directions there.
- * Enter the complete path of your root data directory here.
- * can be changed on a per directory basis. It is used only by WWW
- * are logged. N.B. I have chosen to use the correct spelling of
- * with the CGI spec it is necessary elsewhere to use the incorrect spelling
- #define CGI_BIN "cgi-bin" /* Name of directory for CGI's */
- * you permit users to have data hierarchies in their home directories
- * containing name:directory pairs then URLs starting with
- * directory will be the directory after the ':' in the table.
- * up in the password file and the corresponding home directory with
- * the string PUB_HTML appended will be the root directory. This will
- Title: Format of index.cache file for WN
Matching lines:
- The first line of an index.cache file is the directory record line,
- the second line should be blank. If there is no directory record
- Directory Record Cache token
- Redirect redirect
- "Default-Attributes=" lines in the directory record) get translated
- <Note 3> In the directory record Attributes=nosearch is translated to
- Title: Command Line Options for the WN Server
Matching lines:
- password protected directory must be owned by the user id specified
- for redirects generated when a trailing '/' is omitted in a
- URL path to a directory. Also if the
- In the directory where objects are to be PUT, the "
- Put-Authorization-Type directives must be used.
- Finally in this same directory, the "
- Default-Attributes=put" directive must be used
- directive.)
- is in a directory with limited access or is
- corresponding IP numbers and root directories. The format of this
- Title: Command Line Options for WN Server wndex Utility
Matching lines:
- directive
- wndex is used with this option in a directory which
- permitting access to all files in a directory without first creating
- option to grant access to a directory hierarchy without the need to
- in each directory.
- directory "dir_name".
- directory "dir_name" rather than the current
- directory. It will use the
- subdirectories.
- subdirectories and process them as well. By default it processes
- only those subdirectories listed in the
- Subdirs= directory directive.
- However, this can be changed to be either all subdirectories or all
- subdirectories containing an
- default is to use all subdirectories.
- directory directive automatically.
- no Subdirs= directory
- directive is equivalent to having such a directive whose value is a
- list of all subdirectories which contain an
- no Subdirs= directory
- Maximum number of matches per file exceeded.
- Title: Index File Directives for the WN Server
Matching lines:
- Index File Directives for the WN Server
- Index File Directives for the WN Server
- with a directive like "
- directive is special in that it indicates the beginning of a new record.
- The value of the "File=" directive
- significant in directive keywords.
- treated as a normal character. In fact, since all directives contain the
- is intended to describe attributes of the entire directory rather than
- individual files. It contains lines with directives specifying
- attributes of the directory as a whole or all the files in it. The next
- section is a complete list of these directory directives.
- B.1 Directory Directives
- Accessfile -- Specify directory
- directory. If this line is omitted access is allowed for everyone.
- root directory. In particular the accessfile must be in the
- then it is relative to the directory containing the
- specifies that any request for a document in this directory which is
- redirected to the given URL. A default value for all directories can
- recompiling. If you use this directive be sure that the file
- directory. A line in the accessfile will override any value set in
- Maximum number of matches per file exceeded.
- Title: Parsed Document Syntax for the WN Server
Matching lines:
- directory unless it begins with a '/' in which case it is
- WN to limit access to a directory can also be used to
- server root directory. If this path does not begin with a
- '/' then the path is relative to the directory
- Wrappers=" directives in
- Wrappers=" directives in
- Conditional Redirecting
- #redirect -- Redirect to a
- <!-- #redirect = "url" -->
- HTTP redirect to the given URL. This might be used as follows. If
- <!-- #redirect = "UK_mirror_url" -->
- from a uk host will automatically be redirected to the
- mechanism could also be used to redirect text only browsers to a text
- '<!-- #redirect = "url" -->'
- HTTP redirect while in the middle of transmitting a document. Thus
- after it before the "#redirect" line. When such an
- file and the "#redirect" line is ignored.
- <!-- #redirect = "some_URL" -->
- is correct since when the #redirect line is encountered
- "<!-- #redirect = "URL" -->"
- Maximum number of matches per file exceeded.
- Title: CGI and other Environment Variables for the WN Server
Matching lines:
- the WN root data directory. For example, the URL
- Contains the path to your WN root data directory relative to
- Contains the path to the directory containing the program relative to
- directory directives. For more details on these see the chapter "
- Title: Creating User Home Pages for the WN Server
Matching lines:
- own directories. If that isn't the case you will have to persuade your
- a particular subdirectory of your home directory (your home directory is
- the WN server. Usually this subdirectory is called
- It probably doesn't yet exist in your home directory. If not create it
- The public_html directory also must have the correct
- access files and directories which are not heavily protected. Just to
- You must place a copy of your home page in this directory and give it
- public_html directory and use an editor to create the home
- public_html directory. If you need to rename it the proper
- designated directories (such as your "public_html") it will
- Create a file in the public_html directory named
- server permission to serve anything in this directory. If you put
- documents to be served in subdirectories of public_html,
- wndex in these subdirectories to grant permission to serve
- Create a file in the public_html directory named
- If you put documents to be served in subdirectories of
- it is referring to a directory (in this case your
- public_html directory) and looks for the default file
- "index.html" in that directory. Thus if you want to put
- some files in subdirectories of public_html that is fine.
- Maximum number of matches per file exceeded.
- Title: Configuration Macros for WN
Matching lines:
- Any request for a document in a directory which is denied because of an
- restriction should be redirected to the given URL. This can be
- of an incorrect password or username
- Directory name to identify CGI programs.
- Minimum allowable uid for users with personal home directories.
- Creating Your WN Data Directory" in
- Specifies that any request in this directory for a non-existent file or a
- directory should be redirected to the given URL. Can be overridden with
- directory directive in the
- Name of public directory for home directories. See the section "
- Complete path of your root data directory.
- If defined to the path of a file containing name:directory
- changed to /foo and the root directory will be the directory
- and the corresponding home directory with the string "
- root directory. This will fail if the user's uid is less than "
- Directories" in this guide for more details.
- Directories" in this guide for more details.
- Note: I have chosen to use the correct spelling of
- specification it is necessary elsewhere to use the incorrect spelling
- Title: Changelog for WN
Matching lines:
- Corrected a few errors in debugging logging that could cause
- Fixed documentation docs/setup.html to correctly document verbose log
- Fixed bug in wn/chkcntrl.c which caused incorrect log format for
- file directive to be ignored. Reported by Gabor Kiss.
- which set cookies and then redirected to fail. Headers
- Fixed bug in tilde.c which caused failure of user directories
- environment variables not to be correctly set in some
- WNssl now has its own directory and can be made from the
- top directory by running "make wnssl".
- Simplified redirect code in wn/parse.c. All redirects
- port. This only had an effect in certain redirects.
- "Attributes=post" directive now allows POST method, but does not
- Default-List-Includes, and Default-wrapper directives.
- Fixed bug in suexec/suexec.c that made exempt directory fail.
- home directories (a feature some of you wanted). See docs/multi.html
- Fixed bug in wndex/wndex.c where tmpfpath was incorrectly set.
- Fixed bug in wnputh/puth.c where an incorrect macro Snprintf
- Fixed bug in wn/standalone.c where an incorrect clearing of
- Added support for the Charset and Default-Charset directives.
- Modified Makefiles and directory organization. There is
- Maximum number of matches per file exceeded.
- Title: Quick start
Matching lines:
- 1. In the directory where you found this file (the top directory of
- 2. In this same directory run "make" or "make install".
- 3. Create an HTML file, name it index.html and put it in the directory
- 4. In your data root directory create a file named "index" that
- Now in that directory run the command "wndex". This creates a data
- serveall directive grants permission to serve all files in this
- directory (your data root directory). If you used the line
- binaries "wnd" and "wnsd" are located in the directory where you told
- directory).
- permissions set incorrectly on the files you want to serve -- they
- 7. Now read the documentation in the docs/ directory. The quickest
- data root directory to /path/2/WN_src/docs/ and then use the URL
- Title: GNU Public License
Matching lines:
- all those who receive copies directly or indirectly through you, then
- REPAIR OR CORRECTION.
- Title: GNU Free Documentation License
Matching lines:
- (or to related matters) and contains nothing that could fall directly
- general public, whose contents can be viewed and edited directly and
- copy (directly or through your agents or retailers) of that edition to
WN version 2.5.0
Copyright © 1998-2005 John Franks
<john@math.northwestern.edu>
licensed under the GNU Free Documentation License
Last modified: Sat June 18 2005
[Table of Contents]