Skip to content

Instantly share code, notes, and snippets.

@rip747
Created August 14, 2009 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rip747/167846 to your computer and use it in GitHub Desktop.
Save rip747/167846 to your computer and use it in GitHub Desktop.
Managed Fusion configuration for glassfish
== 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