Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÓÃISAPI_RewriteʵÏÖaspα¾²Ì¬

ASPÍøÕ¾³ÌÐòÔÚ¹úÄÚÔËÓúܹã,µ«ÊÇÀàËÆÓÚ im286.asp?id=20050307213811ÕâÑùµÄURLÓе㲻ÀûÓÚËÑË÷ÒýÇæµÄÊÕ¼,Ò²¾ÍÊÇ˵²»·ûºÏÓѺÃURL(URLs- Friendly)µÄ±ê×¼,ÄÇôÎÒÃÇÓÃISAPI_Rewrite´òÔìÒ»¸öClean URL,
1.ÏÂÔØISAPI_Rewrite.ISAPI_Rewrite ·Ö¾«¼ò(Lite)ºÍÍêÈ«(Full)°æ.¾«¼ò°æ²»Ö§³Ö¶Ôÿ¸öÐéÄâÖ÷»úÕ¾µã½øÐÐÖØд,Ö»ÄܽøÐÐÈ«¾Ö´¦Àí.²»¹ý¶ÔÓÚÓзþÎñÆ÷µÄÅóÓÑ,¾«¼ò°æÒ²¾Í¹»À².¾«¼ò°æ ÏÂÔصØÖ·:http://www.helicontech.com/download/,¾ÍÊÇÄÇLite Version (free)À².
2.°²×°.msiµÄÎļþ,ºÍ×°Ò»°ã³ÌÐòÒ»Ñù×°¾Í¿ÉÒÔÁË,°³¾Í×°ÔÚD:\ISAPI_Rewrite.
3.½ÓÏÂÀ´Ò»²½±È½ÏÖØҪŶ,¿´×Ðϸà¶.´ò¿ªInternet ÐÅÏ¢·þÎñ,ÓÒ¼ü,webÕ¾µãÊôÐÔ,µçISAPIɸѡÆ÷Ñ¡Ï.Ìí¼ÓɸѡÆ÷,Ãû³Æ×Ô¼ºÌî,·¾¶×Ô¼ºÖ¸¶¨ISAPI_Rewrite.dll,È»ºóÈ·¶¨.
4.À´²âÊÔÒ»ÏÂ.н¨Ò»¸ö1ting.asp,ÀïÃæдÉÏ
 
<%=request.querystring("inso")%>
,Ч¹û¾ÍÊÇÖ´ÐеÄʱºò1ting.asp?inso=*ä¯ÀÀÆ÷ÏÔʾ*.
5.ÕâÒ»²½ºÜÖØҪŶ,¿ªÊ¼Ìí¼Órewrite¹æÔò.ÕýÔò,ºÃÍ·Í´,ÐÒ¿÷Õâ¸öÀý×ӱȽϼòµ¥.
ÕÒµ½ISAPI_RewriteĿ¼,°Ñhttpd.iniµÄÖ»¶ÁÊôÐÔÈ¥µô,´ò¿ª±à¼­.ÎÒÃÇÒª°Ñ1ting.asp?inso=im286Ó³Éä³ÉΪ1ting-im286.htmlÕâÑùµÄÀàÐÍ,ÐèÒªÔÚhttpd.iniÀï¼ÓÉÏÕâôһÐÐ:
RewriteRule /1ting-([0-9,a-z]*).html /1ting.asp\?inso=$1
±£´æ.
.À´À´À´,µ½ä¯ÀÀÆ÷Àï²é¿´Ò»ÏÂЧ¹û°É.ÊäÈëhttp://127.0.0.1/1ting.asp?inso=im286 ºÍ http://127.0.0.1/1ting-im286.html,ÏÔʾµÄÄÚÈÝÊDz»ÊǶ¼ÊÇim286?Õâ¾ÍÖ¤Ã÷³É¹¦À²!
ºÙºÙ,1ting-im286.htmlÕâÑùµÄÒ³ÃæÒª±È1ting.asp?inso=im286ÈÝÒ×ÊÕÈë,ËùÒÔÏÖÔÚ»¹ÔÚÓö¯Ì¬·½Ê½µÄÅóÓÑ¿ÉÒÔ³¢ÊÔÒ»ÏÂÕâÑùµÄ¾²Ì¬Ó³ÉäЧ¹û. IIS RewriteÒ²¿ÉÒÔʵÏÖÕâÑùµÄ¹¦ÄÜ¡£
ÍøÕ¾ÀïÃæµÄÁ´½ÓÐèÒª×Ô¼ºÊÖ¹¤¸Ä³É¾²Ì¬µØÖ·¸ñʽ
ISAPI_ReWrite ÎÞ·¨Ö§³Öºº×Ö´«µÝ,ʹÓÃserver.URLEncode()±àÂëһϾͿÉÒÔÁË£¬±ä³É%f1%f3 ÕâÑù
[\u4e00-\u9fa5] ÔÚISAPI_ReWriteÎÞЧ
ÕýÔò±í´ïʽ²Î¿¼£ºhttp://www.zhouhaihe.com/blog/article.asp?id=78
ÐÅÏ¢À´Ô´£ºÉîÛÚÍøÕ¾½¨Éè[www.wl168.com]
Ô­ÎĵØÖ·£ºhttp://www.wl168.com/news_show.asp?ArticleID=44


Ïà¹ØÎĵµ£º

ASP.NET ÈçºÎ£ºÒÔ±à³Ì·½Ê½ÑéÖ¤ ASP.NET ·þÎñÆ÷¿Ø¼þ


      ĬÈÏÇé¿öÏ£¬ÔÚÒ³»Ø·¢µ½·þÎñÆ÷ʱ¡¢Ò³³õʼ»¯Ö®ºó£¨¼´ÊÓͼ״̬ºÍ»Ø·¢Êý¾ÝÒÑ´¦ÀíÖ®ºó£©ºÍµ÷ÓÃʼþ´¦Àí´úÂë֮ǰ£¬ASP.NET ÑéÖ¤¿Ø¼þ½«×Ô¶¯Ö´ÐÐÑéÖ¤¡£Èç¹ûä¯ÀÀÆ÷Ö§³Ö¿Í»§¶Ë½Å±¾£¬¿Ø¼þÒ²¿ÉÒÔÔÚä¯ÀÀÆ÷ÖÐÖ´ÐÐÑéÖ¤¡£
µ«ÊÇ£¬ÓÐʱÄú¿ÉÄÜÐèÒªÒÔ±à³Ì·½Ê½Ö´ÐÐÑéÖ¤¡£ÔÚÒÔÏÂÇé¿öÏ£¬Äú¿ÉÄÜÐèҪͨ¹ý±à³ÌÀ´½ ......

ÍøÕ¾Éè¼ÆÖÐJSPÓëASPµÄ±È½Ï

×ܵÄÀ´½²£¬JavaSever PagesTM£¨JSP£©ºÍ ΢ÈíµÄActive Sever Pages£¨ASP£©ÔÚ¼¼Êõ·½ÃæÓÐÐí¶àÏàËÆÖ®´¦¡£Á½Õ߶¼ÊÇΪ»ùÓÚWEBÓ¦ÓÃʵÏÖ¶¯Ì¬½»»¥ÍøÒ³ÖÆ×÷ÌṩµÄ¼¼Êõ»·¾³Ö§³Ö¡£Í¬µÈ³Ì¶ÈÉÏÀ´½²£¬Á½Õ߶¼Äܹ»Îª³ÌÐò¿ª·¢ÈËÔ±ÌṩʵÏÖÓ¦ÓóÌÐòµÄ±àÖÆÓë×Ô´ø×é¼þÉè¼ÆÍøÒ³´ÓÂß¼­ÉÏ·ÖÀëµÄ¼¼Êõ¡£¶øÇÒÁ½Õ߶¼Äܹ»Ìæ´úCGIʹÍøÕ¾½¨ÉèÓë·¢Õ¹±äµÄ½ÏΪ ......

ASP.NET ASP.NET µÇ¼¿Ø¼þ¸ÅÊö

 
      ASP.NET µÇ¼¿Ø¼þΪ ASP.NET Web Ó¦ÓóÌÐòÌṩÁËÒ»ÖÖ¿É¿¿µÄ¡¢ÎÞÐè±à³ÌµÄµÇ¼½â¾ö·½°¸¡£Ä¬ÈÏÇé¿öÏ£¬µÇ¼¿Ø¼þÓë ASP.NET ³ÉÔ±×ʸñºÍ Forms Éí·ÝÑéÖ¤¼¯³É£¬ÒÔ°ïÖúʵÏÖÍøÕ¾µÄÓû§Éí·ÝÑéÖ¤¹ý³ÌµÄ×Ô¶¯»¯¡£
ĬÈÏÇé¿öÏ£¬ASP.NET µÇ¼¿Ø¼þÒÔ´¿Îı¾ÐÎʽ¹¤×÷ÓÚ HTTP ÉÏ¡£Èç¹ûÄú¶Ô°²È«ÐÔÊ®·Ö ......

aspµÄ19¸ö»ù±¾¼¼ÇÉ

1. ÏÖÔÚµÄÈÕÆÚʱ¼äÃüÁîÊÇ <%=now%> ¼´¿É
2.ASPÈ¡µÃ±í¸ñ(from)Êý¾ÝÊäÈëµÄ·½·¨£¬ÊÇʹÓÃÒ»¸öÄÚÖõĶÔÏó(object)—Requect, ËüÒÔget,post¶øÒì¡£
3.ÈôÒª×Ô¼ºÓÃVB»òÆäËüÓïÑÔ±àд£¬.dllÎļþ¹©ASPʹÓÃÐ轫DLLÎļþ×¢²á·½¿É£ºDOSÏÂÊäÈë regsbr32 *.dll
4.ÏÔʾÎå¸öÖظ´µÄ¾ä×Ó£¬×ÖÌåÔ½À´Ô½´ó <% for i=1 to 5 %> &l ......

ASP.NET ASP.NET ÍøÒ³µÄ HTML ¿Ø¼þ


      ±¾½ÚÖеÄÖ÷ÌâÃèÊöÈçºÎʹÓà Visual Web Developer ¹¤¾ßÏäµÄ“HTML”Ñ¡ÏÉ쵀 ASP.NET Web ·þÎñÆ÷¿Ø¼þ¡£
ĬÈÏÇé¿öÏ£¬·þÎñÆ÷ÎÞ·¨Ê¹Óà ASP.NET ÍøÒ³É쵀 HTML ÔªËØ£»ÕâЩԪËر»ÊÓΪ´«µÝ¸øä¯ÀÀÆ÷µÄ²»Í¸Ã÷Îı¾¡£µ«ÊÇ£¬Í¨¹ý½« HTML ÔªËØת»»³É HTML ·þÎñÆ÷¿Ø¼þ£¬¿ÉÒÔ½«ËüÃǹ«¿ªÎª ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ