Well, it's my first time using Azure as a host for a codeigniter project, because I decided to mount it on this platform because: 1. I need to connect it to a database in SQLServer (free of charge) for a quick presentation. 2. I do not know at the moment any hosting that can make it work (If you have any suggestion I will gladly review it.)
Well since I already configured and uploaded my project to azure, then configure my routes.php, database.php, config.php and create a web.config file, as follows this distribution of folders:
- root
- myproject
- application
- config
- database.php
- routes.php
- config.php
- system
- index.php
- web.config
- application
- myproject
It turns out that the page throws an error 500.19, but I have no idea where it might come from .. check my web.config but apparently it's fine. At the moment I do not know if I missed some other configuration, as I said I'm just starting in azure and then if you can give me some tip or advice I will be very grateful ..
Here my web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Index">
<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>