Skip to content

Instantly share code, notes, and snippets.

@kikuchy kikuchy/Web.config

Created Sep 13, 2013
What would you like to do?
rewrite config for FuelPHP running on Windows Azure
<?xml version="1.0" encoding="utf-8"?>
For more information on how to configure your ASP.NET application, please visit
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
<filter type="" />
<add key="EMULATED" value="true" />
<httpErrors errorMode="Detailed"/>
<clear />
<add value="index.php" />
<add value="index.htm" />
<add value="index.html" />
<rule name="Redir Subdir" stopProcessing="false">
<match url="(.*)" ignoreCase="false" />
<add input="{URL}" pattern="^/public" ignoreCase="false" negate="true" />
<action type="Rewrite" url="/public/{R:1}" appendQueryString="false" />
<rule name="RegleFichierPublic" stopProcessing="true">
<match url="^\/public\/(.*)$" ignoreCase="false" />
<add input="{URL}" pattern="^/public" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<action type="Rewrite" url="/public/index.php/{R:1}" appendQueryString="true" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.