<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<system.webServer>
		<rewrite>
			<rules>
				<rule name="new non www to www" stopProcessing="true">
					<match url="(.*)" />
					<conditions>
						<add input="{HTTP_HOST}" pattern="^www\.pipefreeze\.com$" negate="true" />
					</conditions>
					<action type="Redirect" url="http://www.pipefreeze.com/{R:1}" />
				</rule>
				<rule name="non www redirect" patternSyntax="Wildcard" stopProcessing="true">
					<match url="pipefreeze.com" />
					<conditions>
						<add input="{HTTP_HOST}" pattern="pipefreeze.com" />
					</conditions>
					<action type="Redirect" url="http://www.pipefreeze.com/{R:0}" />
				</rule>
				<rule name="RedirectuserfriendlyURL1" stopProcessing="true">
					<match url="^index\.php$" />
					<conditions>
						<add input="{REQUEST_METHOD}" pattern="^POST$" negate="true" />
					</conditions>
					<action type="Redirect" url="http://www.pipefreeze.com/" appendQueryString="false" />
				</rule>
				<rule name="RewriteUserFriendlyURL1">
					<match url="^index$" />
					<conditions>
						<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
						<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
					</conditions>
					<action type="Rewrite" url="index.php" />
				</rule>
			</rules>
		</rewrite>
				 <httpErrors>
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="https://www.freezeplug.com/404.php" responseMode="Redirect" />
        </httpErrors>
		    <staticContent>
            <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" />
        </staticContent>
        <modules>
            <remove name="ScriptModule-4.0" />
            <remove name="UrlRoutingModule-4.0" />
            <add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="managedHandler" />
            
        </modules>
        <handlers>
            <add name="*.xoml_*" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="*.svc_*" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="*.rem_*" path="*.rem" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
            <add name="*.soap_*" path="*.soap" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
        </handlers>
        <validation validateIntegratedModeConfiguration="false" /></system.webServer>
	<location path="admin.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/" />
		</system.webServer>
	</location>
	<location path="customerfeedback.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/recent-pipeline-work.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="HottapLinestopBypassFreeQuote.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="HottapLinestopBypassJobQuoteForm.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="InsertValveFreeQuote.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" />
		</system.webServer>
	</location>
	<location path="InsertvalveInstallJobQuoteForm.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="LineFreezeJobQuoteForm.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="PipeFreezeFreeQuote.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="recaptchalib.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="valvereplacecontactquoteform.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="WallTankConcreteVesselCylinderJobQuoteForm.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Pipe-Freeze-Plug-Quote.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="WallTappingService.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Indoor-Pipeline-Freeze-Plug-Services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="verify.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Indoor-Pipeline-Freeze-Plug-Services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="ValveInsertingService.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/Indoor-Pipeline-Freeze-Plug-Services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="TappingDylanCartridgeValves.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/pipe-leak-testing-detection-locating-services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="products.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="Pipe-Freeze-Facebook-Fan-Page.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="location.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/contact.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="LiveAirValveReplacement.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/industrial-pipe-freeze-services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="links.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/industrial-pipe-freeze-services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="LineStoppingService.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/industrial-pipe-freeze-services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="LineBypassingService.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/industrial-pipe-freeze-services.php" exactDestination="true" />
		</system.webServer>
	</location>
	<location path="HotTappingService.php">
		<system.webServer>
			<httpRedirect enabled="true" destination="http://www.pipefreeze.com/industrial-pipe-freeze-services.php" exactDestination="true" />
		</system.webServer>
	</location>
    <location path="PipeFreezingService.php">
        <system.webServer>
            <httpRedirect enabled="true" destination="https://www.pipefreeze.com/Indoor-Pipeline-Freeze-Plug-Services.php" exactDestination="true" httpResponseStatus="Permanent" />
        </system.webServer>
    </location>
</configuration>
