Use laravel on azure webapp

后端 未结 2 1685
日久生厌
日久生厌 2021-01-25 14:47

My project is developed with larval, then i am trying to use azure for web server.

I am copying folder laravel in C:\\inetpub\\wwwroot\\laravel5. Next I run

2条回答
  •  执笔经年
    2021-01-25 15:26

    It seems you are using IIS to host your PHP application on Azure VM.

    As the entrance of laravel application locates in public folder in the root directory of the application. You can test to browse http://bobdict.cloudapp.net/public/index to test whether you have deploy laravel application successfully. Then to config URL rewrite for friendly URL pattern. You can create the web.config manually in your root directory of your application. You can refer to http://blog.qbotx.com/basic-laravel-5-on-microsoft-azure-part-1/ for the content of web.config.

提交回复
热议问题