Reputation: 69
I created a new website with codeigniter on local host and it working successfuly but I upload it to plesk host and create a web.config for it
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
<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>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
my projrct work successfully but when I'm go to internal folders I get this error
404 Page Not Found
The page you requested was not found.
Upvotes: 0
Views: 37
Reputation: 87
I am not really sure on this.
Upvotes: 1