Welcome Guest, Not a member yet? Register   Sign In
About deploy a Codeigniter Web in Azure
#5

Ok, if that's the case. It's your web.config fault. You are rewriting every url to your index.php. Including css and js. You can delete your .htaccess, it's a IIS platform.

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


Messages In This Thread
RE: About deploy a Codeigniter Web in Azure - by jreklund - 09-24-2018, 09:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB