aspʵÏÖurlÖØд Ïêϸ½éÉÜ
Ç°Ãæ˵ÁË.NETÈçºÎα¾²Ì¬»¯£¬ÆäʵAsp urlα¾²Ì¬»¯Ò²ºÜ¼òµ¥ÁË¡£ºÃµÄ¶«Î÷´ó¼Ò·ÖÏíÏ£¡
Ó⻶®µÄ¿ÉÒÔ¼ÓÎÒQQ 282116460
ÏêϸÄÚÈÝÈçÏ£º
IISÏ°²×°ÅäÖÃISAPI Rewrite£¬ÊµÏÖaspµÄ¾²Ì¬»¯µÄ·½·¨£¡
×î½üÒ»Ö±Ôڸ㰳СվµÄËÑË÷ÒýÇæÓÅ»¯£¬Ð§¹û»¹¿ÉÒÔ£¬´Ó10Ôµ׵ÄÿÌì40IPÉÏÉýµ½ÏÖÔÚÿÌì200¶à¸ö¡£²»¹ýÁ÷Á¿»¹ÊÇÌ«ÉÙÁË¡£¾Ý˵°Ñ¶¯Ì¬µÄÒ³Éú³É¾²Ì¬¶ÔÅÅÃû¸üÓÐÀû¡£°³¾ÍÀ´ÊÔÊÔ¿´¡£»¹ºÃ·þÎñÆ÷ÊÇ×Ô¼ºµÄ£¬¿ÉÒÔËæ±ãŪ¡£
1¡¢ÏÂÔØ°²×°IISϵÄISAPI Rewrite¡£
ÏÂÔØ£ºhttp://www.isapirewrite.com/download/isapi_rwl_0055.msi
Ëæ±ã×°ÔÚÄĶ¼¿ÉÒÔ£¬Ä¬ÈÏÊÇ×°ÔÚC:\Program Files\HeliconÏ£¬Òª×¢ÒâµÄÊÇÕâ¸öĿ¼everyoneÒªÓжÁȡȨÏÞ¡£ÎÒ¾ÍÒòΪµ±Ê±·þÎñÆ÷ȨÏÞÅäµÄ±È½ÏÑϸñ£¬Ä¬ÈÏ°²×°HeliconÕâĿ¼EVERYONEÊÇûÓÐÈκÎȨÏ޵ģ¬½á¹ûÀÏÊdzöÏÖ£ºService Unavailable ¡£
2¡¢ÅäÖÃIIS£¬´ò¿ªInternet ÐÅÏ¢·þÎñ,ÓÒ¼ü,webÕ¾µãÊôÐÔ,µãISAPIɸѡÆ÷Ñ¡Ï£¬Ìí¼ÓɸѡÆ÷,Ãû³ÆÌî¸örewrite,·¾¶×Ô¼ºÖ¸¶¨ISAPI_Rewrite.dll(ÔÚÈí¼þ°²×°µÄ¸ùĿ¼ÏÂ),È·¶¨.ÏÂͼ£º
3¡¢×îºóÌí¼Órewrite¹æÔò.ÕýÔò,ÕÒµ½ISAPI_RewriteµÄ°²×°Ä¿Â¼,°Ñhttpd.iniµÄÖ»¶ÁÊôÐÔÈ¥µô,´ò¿ª±à¼.
ÏÂÃæÊÇÎҵIJ¿·Ö¹æÔò¡£
[ISAPI_Rewrite]
# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
####### sdoyouxi.com.cn ############################################
RewriteRule ^(.*)/cy/([0-9,a-z]*).html $1/cy/cyshow.asp\?id=$2 #°Ñcy/cyshow.asp?id=xxÓ³Éä³Écy/xx.html
±£´æ£¬ÖØÆôIIS¡£¾Í¿ÉÒÔ¼ûµ½Ð§¹û.
http://www.sdoyouxi.com.cn/cy/cyshow.asp?id=600
¾ÍºÍhttp://www.sdoyouxi.com.cn/cy/600.html Ò»ÑùµÄЧ¹û¡£
Ïà¹ØÎĵµ£º
½ñÌìÔÚÍøÉÏÕÒÁ˺þùØÓÚASPÉú³É¾²Ì¬Ò³µÄ´úÂë ×î¶àµÄ¾ÍÊÇ FSO·½·¨£¬Ä£°å·½·¨£¬µ«²»ÖªµÀ£¬ÎÒ°Ñ´úÂëÄÃÀ´Ö®ºó¶¼²»ºÃÓ㬾ÍÊÇÌṩÏÂÔصÄѹËõ°üÀïÃæдºÃµÄÎÒÔËÐж¼ÊÇÓдíÎ󡣡£
²»¹ý»ÆÌì²»¸ºÓÐÐÄÈË£¬ÎÒÖÕÓÚÕÒµ½Ò»¸öµ¥Ò³Éú³É¾²Ì¬µÄ·½·¨£¬ÄóöÀ´¸ø´ó¼Ò·ÖÏí
<!-- ======================== Éú³É¾²Ì¬·½·¨ ================ ......
ÏÖÔÚÖ÷Á÷µÄÍøÕ¾¿ª·¢ÓïÑÔÎÞÍâºõasp¡¢php¡¢asp.net¡¢jspµÈ¡£
ÍøÒ³´Ó¿ªÊ¼¼òµ¥µÄhmtlµ½¸´ÔӵķþÎñÓïÑÔ£¬×ß¹ýÁË10¶à¸öÄêÍ·£¬¸÷ÖÖ¼¼Êõ²ã³ö²»Çµ¥¸öµÄÖ÷Á÷¼¼ÊõÒ²ÔÚ²»¶Ï·Ðµİ汾£¬ÏÖÔÚ·ÖÎöϸ÷ÖÖÓïÑÔµÄÇø±ð¡¢ÓÅÊÆ¡¢ÁÓÊÆ¡¢¿ª·¢×¢ÒâÊÂÏ
......
1.ÈçºÎÓÃAspÅжÏÄãµÄÍøÕ¾µÄÐéÄâÎïÀí·¾¶
´ð£ºÊ¹ÓÃMappath·½·¨
< p align="center" >< font size="4" face="Arial" >< b >
The Physical path to this virtual website is:
< /b >< /font >
< font color="#FF0000" size="6" face="Arial" >
< %= Server.MapPath("\")% >
......
aspÏνÓMssqlµÄ°ì·¨¼°³£¼ûµÄ²î´í
//µÚÒ»ÖÖд·¨£º
MM_conn_STRING = "Driver={SQL Server};server=(local);uid=sa;pwd=;database=infs;"
Set conn = Server.Createobject("ADODB.Connection")
conn.open MM_conn_STRING
SET RS=SERVER.CreateObject("ADOBD.recordset")
SQL="SELECT * from TABLE ORDER BY ID DESC"
R ......
×î¼òµ¥ÓÃVB°Ñasp·â×°³ÉdllµÄÈëÃųÌÐò
µ±IIS±»ÇëÇóÖ´ÐÐÒ»¸öASP³ÌÐò,ËüÊ×ÏÈ»áÔÚASPÎļþÖÐÕÒµ½<%%>±êÇ©Ö®¼äµÄ´úÂë,²¢ÇÒÖ´ÐÐËü(Ò²¿ÉÒÔÊÇ<scri ptrunat=server></script....>Ö®¼äµÄ´úÂë).Èç¹ûÕâ¸öASP³ÌÐòÔÚÏÈÇ°±»µ÷Óùý,ÄÇôËü¾Í»áÓÃÄÚ´æÖеıàÒë¹ýµÄ³ÌÐòÀ´ÏòÓû§·µ»ØHTML´úÂë,Èç¹ûûÓÐ,ÄÇôËü¾ÍÖØбàÒë.Õ ......