且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

FTP到Linux Web应用程序没有网站文件

更新时间:2021-12-12 02:53:29

I would suggest you to check once, whether you have copied your files and their respective directory structure to the /site/wwwroot directory in Azure?

当您说时, 我能够在Linux上使用Web应用程序+ mySQL很好":您能否获得此Web的所有内容 在wwwroot文件夹中的应用程序?不仅不适用于WordPress图片吗?

When you say, "I am able to work with the Web app + mySQL on Linux just fine": Are you able to get all the contents of this Web App in wwwroot folder? Is it only not working for WordPress image?

尝试设置"WEBSITES_ENABLE_APP_SERVICE_STORAGE" =真".您可以查看以下屏幕截图,

那里的重要部分正在关注:

&& ln -s/home/site/wwwroot/var/www/html \

&& ln -s/home/LogFiles/var/log/apache2

这两行是什么实际上,它们是在/home/site/wwwroot和默认的Apache的/var/www/html之间创建符号链接 文件夹.您也可以采用其他方法,例如在apache2.conf中为虚拟主机指定这些路径.

What these two lines actually do is that they create a symbolic link between the /home/site/wwwroot and the default Apache’s /var/www/html folder. You could also take a different approach and for example specify these paths in the apache2.conf for the virtual host.

参考: https://hajekj.net/2016/12/25/building-custom-docker-images-for-use-in-app-service-on-linux/

Reference: https://hajekj.net/2016/12/25/building-custom-docker-images-for-use-in-app-service-on-linux/

免责声明 :此响应包含对第三方World Wide的引用 网站. Microsoft为方便您而提供此信息. Microsoft不控制这些站点,也没有测试在这些站点上找到的任何软件或信息;因此,Microsoft无法就质量做出任何陈述, 安全性,或在那里找到的任何软件或信息的适用性.使用Internet上发现的任何软件都存在固有的危险,Microsoft提醒您在从以下位置检索任何软件之前,请确保您完全了解风险.

Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.