Welcome Guest, Not a member yet? Register   Sign In
Codeigniter web.config index.php rewrite inside a subdirectory
#2

It's for webconfig file to remove index.php

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Reply


Messages In This Thread
RE: Codeigniter web.config index.php rewrite inside a subdirectory - by puneetkumar - 10-26-2018, 11:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB