约403.4个自定义错误页面 [英] About 403.4 Custom Error Pages

查看:267
本文介绍了约403.4个自定义错误页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已将我的网站配置为使用SSL,当用作https时很好,但是如果使用http输入网址,则会显示错误消息403.4 fobidden错误消息.


我已在IIS 7.0中为此设置了自定义错误,但是该页面未重定向到自定义错误页面,它仍显示禁止内置的页面.

如何设置403.4错误的自定义错误.

Hi,

I have configured my site to work as SSL it is fine when used as https but if url is entered with http then error message 403.4 fobidden error message is displayed.


I have set the custom errors for this in IIS 7.0 but the page is not redirected to custom error page it is still showing the inbuild forbidden page.

How can I set the custom errors for 403.4 error.

推荐答案

看看我对设置404错误页面的解释-我最初发布此信息的目的是为了帮助URL重写,但设置自定义错误页面的过程相同. (请注意,我使用的是IIS 6,因此文本/对话框可能非常少!)

http://www.codeproject.com/Tips/249466/IIS-ASP-Net- URL重写-参见第3段:)

希望这会有所帮助,

埃德:)
Have a look at my explanation of setting the 404 error page - I originally posted this with the aim of helping URL rewriting but the same process of setting a custom error page applies. (Please note I am using IIS 6 so text/dialogs may very slightly!)

http://www.codeproject.com/Tips/249466/IIS-ASP-Net-URL-Rewriting - See paragraph 3 :)

Hope this helps,

Ed :)


这篇关于约403.4个自定义错误页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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