1. Microsoft Internet Information Server

echinoidqueenΔιακομιστές

4 Δεκ 2013 (πριν από 3 χρόνια και 8 μήνες)

133 εμφανίσεις

1.Microsoft Internet Information Server
Installing IIS
For information on how to install the web server,see Microsoft's Internet Information Server
documentation.
Install the Dispatcher module
See
Installation
and
Supported
Platforms for information on accessing the installation files.
The required archive for Microsoft Internet Information System is:
· dispatcher_iis_<dispatcher-build-number>_win32.zip
which contains the following files:
File
Description
disp_iis.dbg
Additional libraries with debug capabilities,for use with standard crash
analysis tools e.g.Dr Watson.
disp_iis.dll
The Dispatcher dynamic link library file.
disp_iis.ini
Configuration file for the IIS.This example can be updated with your
requirements.
NOTE:The ini file must have the same name-root as the dll.
dispatcher.any
An example configuration file for the Dispatcher.
README.dispatcher.iis
The readme file holding installation instructions and last-minute
information.
Note:Please check this file before starting the installation.
To add the DLL to the IIS use the following steps:
· Extract disp_iis.dll into the executable directory of the selected website under IIS;i.e.
<IIS_INSTALLDIR>/scripts.
· Add the Dispatcher to the list of available ISAPI filters.Inside the Internet Service Manager,
right click the website root node (i.e.where you want to add the dispatcher) and open its
Properties dialog:
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 1/8
· Select the tab named ISAPI Filters:
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 2/8
· Click Add..and specify:
· a name for the filter (i.e.for the Dispatcher)
· the filter's location (i.e.where the dll resides)
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 3/8
Configure IIS for the Dispatcher
· Place the (example) configuration file disp_iis.ini into the same directory as the module DLL
disp_iis.dll.The INI file has the following basic format:
[main]
scriptpath=/<virtual root>/disp_iis.dll
configpath=<path to dispatcher.any>
loglevel=1
servervariables=1
where:
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 4/8
Parameter
Description
scriptpath
This is the relative URL location of the Dispatcher disp_iis.dll within
the web server's virtual namespace i.e./scripts/disp_iis.dll.
configpath
The location of the Dispatcher's configuration file dispatcher.any
(absolute path) within the local file system.
loglevel
Log Level used when messages are output to the event log.The following
values may be specified:
0:output error messages only.
1:output errors and warnings.
2:output errors,warnings and informational messages.
3:output error,warnings,info and debug messages.
Note:It is recommended to set the log level to 3 during installation and
testing and to 0 when running in a production environment.
servervariables
Defines how server variables will be processed.
0 IIS server variables are not sent to the Dispatcher and/or Communiqué.
1 all IIS server variables (such as LOGON_USER,QUERY_STRING,...) are
sent to the Dispatcher (and therefore to the Communiqué instance if not
cached) along with the request headers.
For your reference this is the complete list of IIS server variables that are
transmitted as request headers if available:
APPL_MD_PATH
APPL_PHYSICAL_PATH
AUTH_PASSWORD
AUTH_TYPE
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE
CERT_SECRETKEYSIZE
CERT_SERIALNUMBER
CERT_SERVER_ISSUER
CERT_SERVER_SUBJECT
CERT_SUBJECT
CONTENT_LENGTH
CONTENT_TYPE
LOGON_USER
HTTPS
HTTPS_KEYSIZE
HTTPS_SECRETKEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 5/8
INSTANCE_ID
INSTANCE_META_PATH
PATH_INFO
QUERY_STRING
REMOTE_ADDR
REMOTE_HOST
REMOTE_USER
REQUEST_METHOD
SCRIPT_NAME
SERVER_NAME
SERVER_PORT
SERVER_PORT_SECURE
SERVER_PROTOCOL
SERVER_SOFTWARE
URL
See the IIS documentation for details about the individual server
variables.
An example configuration may look like:
[main]
scriptpath=/Scripts/disp_iis.dll
configpath=C:\Inetpub\Scripts\dispatcher.any
loglevel=1
Anonymous Access
· Access to the cached files must be unrestricted,otherwise the syndication request for cache
flushing won't work as the authentication information is missing.To do this you have to make
sure that Anonymous access for the website is activated on the Directory Security tab:
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 6/8
· To activate the changes you have to restart IIS;either from the IIS control window or from a
command window:
· > net stop w3svc - will stop the IIS web publishing service
· > net start w3svc - will start it again.
Before you can start using the Dispatcher you must now:
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 7/8
·
Configure the Dispatcher
·
Integrate it with any Communique instances involved.
Copyright © 1993-2008 Day Software AG Microsoft Internet Information Server
PDF Created:08.05.2008 10:06:54
http://docs.day.com
Page 8/8