Help_我的Blog出问题了(已解决)_AX
一点插入代码,它就自动插入以下代码,(该代码是我用高级回复时的一段代码),现在不能粘代码了,怎么办啊?
public new void ProcessRequest(HttpContext context)
{
/*寮勪簩绾у煙鍚嶅晩,浣犲緱鍏堥厤缃煙鍚嶇郴缁烡NS,閰嶇疆濂藉悗灏卞彲浠ユ妸
*.cnblog.com閮芥槧灏勫埌www.cnblog.com浜?涔熷氨鐢ㄦ埛杈撳叆*.cnblog.com
瀹冨疄闄呰闂殑鏄痺ww.cnblog.com绔欑偣,杩欎釜鏄垜鐨勬€濊矾,
鍏蜂綋娌″仛杩?鍙嶆浣犺璁╁畠璁块棶鍒颁綘鐨勭珯鐐?www.cnblog.com,鍓╀笅鐨勪簨灏卞ソ鍔炰簡
鐒跺悗鎴戜滑閫氳繃鑾峰彇鍏朵富鏈哄ご鏉?br>
瀵筓RL杩涜閲嶅畾鍚?/span>*/
HttpRequest Request=context.Request;
//鑾峰緱URL鐨勪富鏈哄ご,浣犵殑瀹炰緥
string host=Request.Url.Host;
if(host="ee.cnblogs.com")
{
Server.Transfer("~/ee/index.aspx");
}
//閫氱敤,閫傜敤浜庢墍鏈夌敤鎴?/span>
string userName=host.Substring(host.IndexOf("//")+2,host.IndexOf('.'));
Server.Transfer("~/"+userName+"/index.aspx");
}
弄了一下午,这个问题!
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif)
1
safdsa
2
dsfg
高,实在是高啊..谢谢了 ![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
2
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
弄了一下午,这个问题!
少帮主的斧头好久不饮血了!