Software Development Kit
Usage
This HTTP module is running automatically when it is added to a web project as described below,
A reference to the SDK DLLs is required, see how to add a reference to the MicroMighty SDK DLLs,
To further analyze the HTTP response you can use of tools such as IEHttpAnalyzer and IEWatch
Configuration
Web.Config should include the following variables in order for the HTTP Prefix Module to run,
If no variables added then the module will not run and HTTPPrefixModule will be set to "false".
STEP 1 : Add the following entries in the "<appSettings>" section of "<configuration>"
<!-- HTTPPrefixModule Variables -->
<add key="HTTPPrefixActive" value="true
" />
<add key="HTTPPrefixCommaSeparatedExcludedExtensions" value="" />
<add key="HTTPPrefixCommaSeparatedSSLPathAndFileNames" value="PaymentPage.aspx" />
<add key="HTTPPrefixEnforcePrefixInAddress" value="false" />
<add key="HTTPPrefixEnforceNoPrefixInAddress" value="true" />
<add key="HTTPPrefixHostPrefix" value="www." />
<add key="HTTPPrefixTestModeOnly" value="false" />
STEP 2 : Add the following entries in the "<httpModules>" section of "<system.web>"
<!-- Register HTTP modules for IIS 6.0 and IIS 7.0 running in Classic mode -->
<add name="HTTPPrefixModule" type="MicroMighty.SDK.Web.HttpModules.HTTPPrefixModule" />
STEP 3 : Add the following entries in the "<modules>" section of "<system.webServer>"
<!-- Register HTTP modules for IIS 7.0 running in Integrated mode -->
<add name="HTTPPrefixModule" type="MicroMighty.SDK.Web.HttpModules.HTTPPrefixModule" />
Notes
Depends on your IIS settings - you may need to enforce HTTP modules on HTML and maybe other files,
By default ASPX files are processed through the ASP.NET pipeline, however, you may need to configure IIS to route HTML files (and maybe other files) through the ASP.NET pipeline or move to IIS Integrated Mode.
  • HTTPPrefixCommaSeparatedSSLPathAndFileNames is used to define pages that will be added with the "https" prefix for Secure Socket Layer (SSL), for example PaymentPage.aspx
    (please note that the URL will be broken if no valid SSL certificate was setup on the domain)
  • HTTPPrefixHostPrefix can be set temporally to "localhost" in order to help debugging locally.
  • HTTPPrefixTestModeOnly is used for testing only in order to print the processed URL without redirecting to it, so a developer can get some indication on what page is being processed.
    To further analyze the HTTP response you can use of tools such as IEHttpAnalyzer and IEWatch
You can use this SDK for personal use only, any commercial use or use for other
type of organization including non profit on a production server is not allowed.

You may not publish, sell, re-distribute, rent, lease or re-license any content
contained in this source code and/or DLLs and/or other components of the SDK
without an explicit written permission agreement signed by MicroMighty, Inc.

MicroMighty, Inc. reserves the right to permanently cancel without any warnings
neither refund a license that is suspected of being used illegitimately or that
violates the EULA (http://MicroMighty.com/SDK/EULA/)