Bug 35299 - JK/ISAPI documentation does not explain isapi_redirect.properties
Summary: JK/ISAPI documentation does not explain isapi_redirect.properties
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: Common (show other bugs)
Version: unspecified
Hardware: PC Windows Server 2003
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 23:09 UTC by Tim Whittington
Modified: 2008-10-05 03:09 UTC (History)
0 users



Attachments
Sample isapi_redirect.properties (1.09 KB, text/plain)
2005-07-12 03:26 UTC, Tim Whittington
Details
Updates to IIS config to demonstrate isapi_redirect.properties (2.14 KB, patch)
2005-07-12 03:29 UTC, Tim Whittington
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Whittington 2005-06-09 23:09:07 UTC
Configuration of the ISAPI redirector using isapi_redirect.properties is the
preferred method of configuration for many sites as it allows:
 - Non registry based config
 - Multiple redirector configurations per server machine/IIS (currently one per
website)

Using the properties file for config is not documented in any of the Tomcat
docs, leading many people to think that this support has been dropped.
Comment 1 Mladen Turk 2005-07-03 10:52:16 UTC
There is no isapi_redirect.properties file.
Use either installer, provided vbs script or manual installation
for isapi_redirector.
Comment 2 Tim Whittington 2005-07-03 23:25:45 UTC
Well seeing as I contributed the code for the IIS redirector to load config from
the properties file, I'm going to disagree.

Have a look at DllMain in jk_isapi_plugin.c, where it constructs the filename
based on the name of the DLL, and read_registry_init_data, where it tries to
load the config from the properties before falling back to the registry.

This allows you to colocate the redirector config with the redirector (good),
and allows you to have multiple redirectors per physical server (essential).
Comment 3 lujunfei1980 2005-07-04 05:11:24 UTC
This is very good,I like it 
Comment 4 Tim Whittington 2005-07-12 03:26:05 UTC
Created attachment 15649 [details]
Sample isapi_redirect.properties

Sample isapi_redirect.properties file, showing how to configure the ISAPI
redirector using a properties file instead of the Windows registry.
Comment 5 Tim Whittington 2005-07-12 03:29:54 UTC
Created attachment 15650 [details]
Updates to IIS config to demonstrate isapi_redirect.properties

Updated the doc source to show how to use isapi_redirect.properties to
configure the ISAPI Redirector.
Comment 6 Mladen Turk 2005-09-12 15:55:00 UTC
Commited. Thanks!