![]() | LinkScan Reference Manual | Section 22 |
Previous Contents Next | Help Reference HowTo Card |
The LinkScan WebServer is a small, easy-to-configure, HTTP compliant webserver. It enables interactive query and reporting capabilities from the LinkScan database via a standard web browser interface. However, it avoids the complexity of installing and configuring a fully functioned webserver on a desktop computer. LinkScan WebServer supports a surprisingly large number of features found in more complex products but, with the emphasis on simplicity. There are some limitations. Features include:
Limitations include:
The LinkScan WebServer is installed and configured automatically when you install LinkScan on a Windows System.
LinkScan WebServer reads several configuration files whenever it is executed. These are all located in the main LinkScan folder:
These configuration files are shared with the main LinkScan program. However, the behavior of the LinkScan WebServer may be customized with simple editing of these files as described below:
linkscan.sys
Server: Set to 1 to enable LinkScan WebServer
Wwwurl: The base URL for LinkScan WebServer. In general, you should use the default setting of http://localhost/. Use other server names only if you have understood and configured alternate DNS and/or hosts file entries. You may also specify a TCP/IP Port Number if you want the LinkScan WebServer to 'listen' on a Port other than the HTTP default of Port 80. For example, to run the LinkScan WebServer on Port 81, use: http://localhost:81/.
Wwwpath: The root folder from which the LinkScan WebServer will serve your documents.
Defaultpages: A comma separated list of file names. When LinkScan WebServer encounters a reference to a directory without an explicit filename, it will look for one of these files, in the order specified: index.html, index.shtml, index.htm, home.html, home.shtml, home.htm. Users may specify other or additional file names and extensions and their order.
Serverdeny: A Perl Regular Expression specifying IP addresses from which HTTP requests will be denied.
Serverallow: A Perl Regular Expression specifying IP addresses from which HTTP requests will be allowed.
Note: Serverdeny is processed before Serverallow.
Serverauth: Username:Password combinations. All clients making HTTP requests to the LinkScan WebServer will be challenged to authenticate using this Username:Password.
Serverindex: Set to 1 to enable directory listings on folders without an index page. Set to 0 to disable directory listings.
Example linkscan.sys configuration:
Server = 1 Wwwurl = http://localhost/ Wwwpath = C:/Www/ Defaultpages = index.htm, index.html, welcome.htm, welcome.html Serverdeny = .* Serverallow = 10.10.10.10 Serverauth = myname:mypass Serverindex = 1
linkscan.cfg
LinkScan WebServer will also read and act upon several of the normal LinkScan Customization Commands used to implement Server Aliases, Server Redirections and CGI Executions:
These command are described in the LinkScan Reference Manual, Customizing LinkScan.
mime.types
The mime.types file controls the MIME-type header that the LinkScan WebServer transmits for each request based on the file extension of the requested document/file. The version of the mime.types file installed with LinkScan includes most of the common/standard associations. For example:
# MIME type Extension text/html shtml html htm
This entry causes the LinkScan WebServer to transmit the following HTTP response header with each request for a .htm, .html or .shtml file:
Content-Type: text/html
LinkScan Reference Manual. Section 22. LinkScan WebServer
LinkScan Version 9.0
© Copyright 1997-2001
Electronic Software Publishing Corporation (Elsop)
LinkScan and Elsop are Trademarks of Electronic Software Publishing Corporation
Previous Contents Next | Help Reference HowTo Card |