#1265: Support for IIS7
-------------------------+--------------------------------------------------
Reporter: david | Owner: david
Type: enhancement | Status: closed
Priority: normal | Milestone: 1.0.4
Component: request | Version: 1.0.3
Severity: normal | Resolution: fixed
Keywords: | Has_patch: 0
-------------------------+--------------------------------------------------
Comment(by david):
Sample web.config for {{{/}}} (if you're using a sub-folder, omit the
leading slash, e.g. {{{path/to/folder/}}} if your site resides in
{{{http://localhost/path/to/folder/}}}):
{{{
#!xml
<configuration>
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true" />
</security>
<rewrite>
<rules>
<rule name="Agavi Dispatcher for /"
stopProcessing="true">
<match url="^$" />
<action type="Rewrite"
url="index.php?/" />
</rule>
<rule name="Agavi Dispatcher"
stopProcessing="true">
<match url="^(.*)$" />
<conditions
logicalGrouping="MatchAll">
<add
input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add
input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite"
url="index.php?/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/1265#comment:5>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets