使用dreamfactory为应用程序静态文件提供服务

我已经成功地为我的REST调用应用程序使用了dreamfactory,但是现在我想让它也服务于应用程序的web文件。

我做了什么:

  1. 我已经进入pipe理Web界面的“应用程序”configuration页面
  2. 从列表中select我的应用程序
  3. 在“应用程序位置”下,我select了“在此Web服务器上”
  4. 在“应用程序path”中键入“app-name / index.html”

然后这提供了一个URL,应该被用来到应用程序。

然后,我使用“文件”configuration页面来创build一个“应用程序名称”目录,并上传一个简单的index.html文件。

然后,当我到达给我的url时,我只是在顶部写了一个白名单,上面写着“找不到应用程序名称的服务”。

我在错误的地方安装文件? 我需要用这个名字创build一个新的服务吗?

我正在使用的dreamfactory的版本:

Admin Application Version: 2.5.1 DreamFactory Version: 2.4.2 System Database: mysql Install Path: /opt/dreamfactory-2.4.2-0/apps/dreamfactory/htdocs/ Log Path: /opt/dreamfactory-2.4.2-0/apps/dreamfactory/htdocs/storage/logs/ Log Mode: single Log Level: DEBUG Cache Driver: file Cache Path: /opt/dreamfactory-2.4.2-0/apps/dreamfactory/htdocs/storage/framework/cache/ Demo: false