首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么页面是空白的?

问为什么页面是空白的?
EN

Stack Overflow用户
提问于 2018-03-12 21:44:24
回答 1查看 812关注 0票数 0

我让Tomcat在WindowsServer2012R2上运行,并使用以下URL配置了一个应用程序。我希望将此应用程序放到网上,因此设置一个http://localhost:8080/app反向代理

我使用Apache HTTPS Server作为反向代理,使用mod_proxy扩展。

代码语言:javascript
复制
ProxyPreserveHost On
ProxyPass /app http://192.168.40.20:8080/app
ProxyPassReverse /app http://192.168.40.20:8080/app

我需要将Apache配置为将请求传输到tomcat,如下所示:

https://192.168.40.20/app/ >> http://192.168.40.29:8080/app/

但是,当我尝试访问该页面时,我得到一个空白页面,什么也没有显示

当我检查页面元素时:

代码语言:javascript
复制
Loading failed for the <script> with source “https://192.168.6.136/lib/ueditorsrc/ueditor.config.js”.
insurance:16
Loading failed for the <script> with source “https://192.168.6.136/lib/ueditorsrc/ueditor.all.js”.
insurance:17
Loading failed for the <script> with source “https://192.168.6.136/lib/ionic/js/ionic.bundle.min.js”.
insurance:20
Loading failed for the <script> with source “https://192.168.6.136/lib/ueditorsrc/angular-ueditor.js”.
insurance:21
Loading failed for the <script> with source “https://192.168.6.136/js/app.js”.

页面的屏幕截图

​

EN

回答 1

Stack Overflow用户

发布于 2018-03-16 19:50:41

找到了解决方案,它必须通过在ap/前面放置一个正斜杠

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49236760

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档