通过IP地址访问Web应用返回404(PCI合规性失败) [英] Access web app via IP address returns 404 (PCI Compliance Failure)

查看:107
本文介绍了通过IP地址访问Web应用返回404(PCI合规性失败)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我通过其IP地址访问我的Web应用程序,则会得到默认的azure 404找不到网页.

If I access my web app via its IP address I get the default azure 404 not found web page. 

我已经配置了自定义域(A记录+ Cname),如果我使用它的话,效果很好.

I have configured a custom domain  (A Record + Cname) which works fine if I use that.

我应该能够通过IP地址访问Web应用吗?如果可以,我还需要做什么?

Should I be able to access the web app via the IP address, and if so what else do I need to do.

由于当前网站的响应中已删除服务器标头,因此这会导致PCI合规性失败,但是404页会返回服务器标头,因为它没有到达我配置的网站.这使我们的PCI扫描失败.

This is causing a PCI compliance failure at the moment as the actual web site has server headers removed from the response, however the 404 page returns server headers as its not hitting my configured web site. This is failing our PCI scan.

还有其他人解决吗?

Paul Miles-eSmartMetrics Ltd

Paul Miles - eSmartMetrics Ltd

推荐答案

您不会获得专有IP地址(这意味着其他WebApp也分配了相同的IP地址) ).  您需要传递HOST标头以允许分派到您的Web应用.
You don't get exclusive IP address (meaning the same IP address is assigned by other WebApp as well).   You need to pass the HOST header to allow dispatching to your webapp.


这篇关于通过IP地址访问Web应用返回404(PCI合规性失败)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆