Created
September 11, 2015 08:11
-
-
Save hidayat365/782d3201d008464df09e to your computer and use it in GitHub Desktop.
Setting web.config untuk Yii2 basic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <connectionStrings> | |
| <add connectionString="server=ap-cdbr-azure-southeast-a.cloudapp.net;User Id=user;database=proxima3;password=pass" name="proxima3" providerName="MySql.Data.MySqlClient" /> | |
| </connectionStrings> | |
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="Yii2 WebApp Redirect" stopProcessing="true"> | |
| <match url="^$" /> | |
| <action type="Redirect" url="/web" /> | |
| </rule> | |
| </rules> | |
| </rewrite> | |
| </system.webServer> | |
| </configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment