调用根目录URL的JS资源

调用根目录URL的JS资源,url,permissions,resources,server,Url,Permissions,Resources,Server,eFront CMS的某些功能不起作用,因为文件被调用错误 控制台日志: Failed to load resource: the server responded with a status of 404 (Not Found) Failed to load: http://efront.sageenvironmental.com/www/editor/tiny_mce_new/plugins/autolink/editor_plugin.js 应该打电话:www/editor/tiny_

eFront CMS的某些功能不起作用,因为文件被调用错误

控制台日志:

Failed to load resource: the server responded with a status of 404 (Not Found)

Failed to load: http://efront.sageenvironmental.com/www/editor/tiny_mce_new/plugins/autolink/editor_plugin.js
应该打电话:www/editor/tiny_mce_new/plugins/autolink/editor_plugin.js

而是呼吁:

我尝试更改权限以允许访问服务器中的目录,但它仍在提取根url


如何才能正确调用资源而不在前面添加主url。

您需要附加代码。但看起来您正在尝试创建HREF,并且它正在添加完整的URL,因为您忽略了它。您可能应该自己尝试调用完整的URL。@DurbnPoison它是通过平台eFront,所以它是一个打包的CMS。因此,我无法直接访问代码并更改href。它正在调用目录中的文件夹,但我认为权限阻止它访问js文件。如果您无法访问代码,我怀疑您是否可以访问权限。在任何情况下,你有点遗漏了整个CMS的事情在你原来的职位。没有更好的信息,我想我们帮不了忙。