This repository was archived by the owner on Oct 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWeb.config
More file actions
57 lines (50 loc) · 2.24 KB
/
Web.config
File metadata and controls
57 lines (50 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configSections>
<section name="managedFusion.rewriter" type="ManagedFusion.Rewriter.Configuration.ManagedFusionRewriterSectionGroup" />
</configSections>
<managedFusion.rewriter xmlns="http://managedfusion.com/xsd/managedFusion/rewriter">
<rules engine="Apache">
<apache defaultFileName="rewriter.txt" />
</rules>
</managedFusion.rewriter>
<appSettings>
<add key="AdminEmail" value="nick@managedfusion.com" />
<add key="SalesEmail" value="sales@managedfusion.com" />
<add key="SupportEmail" value="support@managedfusion.com" />
<add key="InfoEmail" value="info@managedfusion.com" />
<add key="ErrorEmail" value="error@managedfusion.com" />
<add key="NoReplyEmail" value="noreply@managedfusion.com" />
</appSettings>
<system.web>
<compilation debug="false" defaultLanguage="c#" />
<customErrors mode="RemoteOnly" defaultRedirect="/error/">
<error statusCode="404" redirect="/error/not-found.aspx" />
</customErrors>
</system.web>
<system.webServer>
<handlers>
<add name="SendEmail" verb="POST" path="/send-email.ashx" type="SendEmailHandler" resourceType="Unspecified" />
<add name="PaymentNotification" verb="POST" path="/products/payment-notification.ashx" type="PaymentNotificationHandler" />
</handlers>
<rewrite>
<rules>
<rule name="CanonicalHostNameRule1">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^managedfusion\.com$" negate="true" />
</conditions>
<action type="Redirect" url="http://managedfusion.com/{R:1}" />
</rule>
<rule name="Rewriter XSD">
<match url="xsd/managedFusion/rewriter" />
<action type="Rewrite" url="xsd/ManagedFusionRewriterConfigurationSchema.xsd" />
</rule>
<rule name="Resume" stopProcessing="true">
<match url="resume/?" />
<action type="Redirect" url="http://careers.stackoverflow.com/cv/837/export/pdf-preview" redirectType="Found" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>