Created
August 14, 2009 13:52
-
-
Save rip747/167846 to your computer and use it in GitHub Desktop.
Managed Fusion configuration for glassfish
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Web.config == | |
<?xml version="1.0"?> | |
<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="ManagedFusion.Rewriter.txt" /> | |
</rules> | |
<rewriter> | |
<proxy useAsyncProxy="true" /> | |
</rewriter> | |
</managedFusion.rewriter> | |
<system.web> | |
<compilation debug="true" /> | |
<httpModules> | |
<add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter"/> | |
</httpModules> | |
</system.web> | |
</configuration> | |
== ManagedFusion.Rewriter.txt == | |
RewriteEngine on | |
RewriteRule ^(.*)$ http://127.0.0.1:3000$1 [NC,P,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment