惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - 活靶子.Net

2008我的收获了3个本儿,一堆朋友 把ASP.NET MVC的路由利用配置维护起来 jQuery从此更牛了 【分享】如何创建自己的Visual Studio 2005/2008配色 我学Linq to SQL做的demo Latest preview of the ASP.Net MVC available on CodePlex 提供我现用的Vs配色(灰黑色调)下载,有兴趣的朋友玩玩。 使用AzMan找不到Microsoft.Interop.Security.AzRoles的解决方法 MS Ajax 客户端生命周期 使用dotNetZipLib轻松压缩目录/文件夹 批量 移动 msn 联系人 IE8 BETA1 来了.... Telligent 发布了 CMS 系统 DbEntry.Net---又一个国产开源ORM数据访问及 WEB 框架 [2007最后一博]Url地址重写,利用HttpHander手工编译页面并按需生成静态HTML文件 FckEditor,远程图片下载,插件 上班族饮食十大“夺命”恶习 一系列SQL SERVER SQL 的分析文章 员工辞职的十大原因!
CustomError可以设置绝对路径
活靶子.Net · 2008-04-23 · via 博客园 - 活靶子.Net

偶然发现web.config内自定义错误信息页面
  <customErrors mode="RemoteOnly"     defaultRedirect="503.aspx">
   <error statusCode="404" redirect="404.aspx"/>
  </customErrors>

可以设置成
  <customErrors mode="RemoteOnly"     defaultRedirect="503.aspx">
   <error statusCode="404" redirect="http://www.aspxboy.com/404.aspx"/>
  </customErrors>
这样的绝对路径.
看了一下 CustomErrorsSection 中的代码

internal string GetRedirectString(int code)
{
    
string absoluteRedirect = null;
    
if (this.Errors != null)
    
{
        CustomError error 
= this.Errors[code.ToString(CultureInfo.InvariantCulture)];
        
if (error != null)
        
{
            absoluteRedirect 
= GetAbsoluteRedirect(error.Redirect, this.basepath);
        }

    }

    
if (absoluteRedirect == null)
    
{
        absoluteRedirect 
= this.DefaultAbsolutePath;
    }

    
return absoluteRedirect;
}

发现事实如此.
期间有个小笑话,我试验的时候顺手输入了个http://x x.com/404.aspx (两个xx中没空格)这样到一个页面跳入了一个xx站点,吓我一大跳. ,工位附近有MM,不知道有否影响本人正值地形象哦