1
I have a news registration system developed in PHP (MVC) in which each url triggers a controller that calls a view.
But in Azure is not called the corresponding view while in xampp/apache the system works perfectly.
How to configure access the view from the controller inside Azure ?
web code.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Clean URL" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<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}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
URL of PHP system in MVC: http://crudmvcphp.azurewebsites.net/
Repository of system code: https://github.com/alexjosesilva/CrudMVCPHP
What is the PHP framework you are using?
– Fabio William Conceição
I am using a pure framework. With minimal structure
– alexjosesilva
https://github.com/alexjosesilva/CrudMVCPHP
– alexjosesilva
So, have you ever tried to open up a leak on github about this problem? It may be a problem in the framework given that your settings are correct.
– Fabio William Conceição