ÈçºÎÅäÖÃASPÔËÐл·¾³
1.Èç¹ûÄúµÄ²Ù×÷ϵͳΪWindows 98£¬ÇëÔËÐÐ Windows98µÄ°²×°¹âÅÌ¡£ÔÚÆäAdd-ons\pwsĿ¼ÏÂÕÒµ½pwsµÄ°²×°³ÌÐò£¬ÔËÐа²×°¼´¿É
2.Èç¹û²Ù×÷ϵͳΪ Windows 2000 ÒÔÉÏ£¬¿ÉÒÔ°´Í¼4.1.1µÄ·½·¨°²×° IIS£º
´ò¿ª¡¾¿ØÖÆÃæ°å¡¿£¬ÕÒµ½ ¡¾Ìí¼Ó/ɾ³ý³ÌÐò¡¿→¡¾Ìí¼Ó/ɾ³ýWINDOWS×é¼þ¡¿£¬
µ¯³ö ¡¾Windows ×é¼þÏòµ¼¡¿ £¬Ñ¡Ôñ ¡¾Internet ÐÅÏ¢·þÎñ(IIS)¡¿(ÔÚ Windows Server 2003 ÖУ¬´ËÑ¡ÏîÊÇÔÚ ¡¾¾ÍÓóÌÐò·þÎñÆ÷¡¿µÄ¡¾ÏêϸÐÅÏ¢¡¿Àï)£¬²åÈë°²×°ÅÌ£¬°´¡¾ÏÂÒ»²½¡¿¿ªÊ¼°²×°¡£Èç4.1.1Ëùʾ:
ͼ4.1.1 Ñ¡Ôñ°²×° IIS·þÎñ
°²×°³É¹¦ºó£¬¾Í¿ÉÒÔ°´ÕÕ×Ô¼ºµÄÒªÇóÅäÖÃIISÁË¡£Ê×ÏÈÄúÐèÒªÖªµÀIISÔÚÎÒÃÇʹÓõĹý³ÌÖг䵱×ÅÒ»¸öÐéÄâµÄ½ÇÉ«¡£Ò²¾ÍÊÇÎÒÃÇÊÇ“¼Ù×°µÄ”°Ñ±¾»ú´ÅÅÌ¿Õ¼äµÄÒ»²¿·Ö¿Õ¼ä»®¹éΪ“·þÎñÆ÷”£¨Êµ¼ÊÉÏÎÒÃÇ·ÃÎʵÄÍøÕ¾ÊÇ´æ´¢ÔÚרÃŵÄÍøÂç·þÎñÆ÷Éϵģ©¡£¼ÈÈ»ÎÒÃÇÒ²Òª·ÃÎÊ“·þÎñÆ÷”ÉϵÄÄÚÈÝ£¨ËäÈ»Ëü´æÔÚ±¾»úÉÏ£©£¬ÄÇôÎÒÃÇҲҪͨ¹ýÀàËÆÓÚ·ÃÎÊÍøÕ¾µÄģʽȥ·ÃÎÊ¡£
IISµÄĬÈÏĿ¼°²×°ÔÚ ÏµÍ³ÅÌ:\Inetpub\wwwrootÀҲ¾ÍÊÇ˵ÉÏÃæµÄÐéÄâĿ¼http://localhost »òhttp://127.0.0.1ÆäʵÊÇÖ´ÐÐÄú»úÆ÷ÉÏÎïÀí·¾¶Îª ϵͳÅÌ:\Inetpub\wwwrootÉϵÄÄÚÈÝ£¬³¢ÊÔ¿´¿´IISÆðʼҳÖеÄlocalstart.aspÊDz»ÊǾÍÔÚwwwrootĿ¼À ͬÀí£¬Èç¹ûÔÚwwwrootÀïÓÐÒ»¸öb.aspÎļþ£¬Í¬Ñù¿ÉÒÔͨ¹ýhttp://localhost/b.asp »òhttp://127.0.0.1/b.asp À´·ÃÎÊ¡£
×¢Ò⣺ËäÈ»ÔÚWindows98ÏÂÒ²¿ÉÒÔÅäÖÃASP»·¾³£¨PWS£©£¬µ«ÎÒÃÇÇ¿ÁÒ½¨ÒéÄúʹÓÃWindows2000¼°ÆäºóÐø°æ±¾µÄWeb·þÎñÆ÷£¨IIS£©À´ÅäÖÃASP»·¾³¡£±¾ÊéÖеķ¶ÀýÒ²¶¼ÊÇ»ùÓÚIIS·½·¨µÄ¡£
Ìáʾ£ºPWSÊÇPersonal Web ServerµÄËõд£¬ÒâÒëÊÇ“¸öÈËÍøÂç·þÎñÆ÷”£»¶øIISÊÇInternet Information ServerµÄËõд£¬ÒâÒëÊÇ“ÒòÌØÍøÐÅÏ¢·þÎñÆ÷”¡£´Ó×ÖÃæµÄÒâ˼À´¿´£¬Äú¾Í¿ÉÒÔ·Ö±æ³öÄÄÒ»¸öµÄ¹¦ÄÜ»á¸üÇ¿¾¢Ð©¡£
¼¼ÇÉ£ºËäȻĬÈϵÄĿ¼¾Í¶¨ÒåÔÚ ÏµÍ³ÅÌ:\Inetpub\wwwrootÀµ«ÊÇÔÚÒ»°ãÇé¿öÏ¡£ÎÒÃÇ»¹ÊDz»Ö±½ÓµÄʹÓÃËü¡£ÒòΪÈÕ»ýÔÂÀÛ£¬²»¿É±ÜÃâµÄÎÒÃÇÒª²Ù×÷¶à¸öASPÎļþ£¬»òÕßµ÷ÊÔ¶à¸öASPÕ¾µã£¬Èç¹ûÎļþ¶¼É¢·ÅÔÚwwwrootÀ»áÔì³ÉºÜ¶à²»±ØÒªµÄÂé·³¡£×îºÃ¸øÿһ¸ö²»Ïà¸ÉµÄÎļþȺµ¥¶À½¨ÔÚÒ»¸öÎļþ¼ÐÀï¡£
ͬʱ£¬wwwrootµÄĬÈÏĿ¼ҲÊÇ¿ÉÒÔ¸ü¸ÄµÄ¡£½øÈ롾¿ØÖÆÃæ°å¡¿→¡¾¹ÜÀí¹¤¾ß¡¿→¡¾Internet ·þÎñ¹ÜÀíÆ÷¡¿£¬Ë«»÷Ëü£¬»á³öÏÖ¡¾InternetÐÅÏ¢·þÎñÆ÷¡¿µÄÖ÷½çÃ棬ÔÚ´°ÌåÀïÕÒµ½¡¾¼ÆËã»ú
Ïà¹ØÎĵµ£º
³£ÓõÄÖض¨Ïò·½Ê½ÓÐ: 301 redirect, 302 redirect Óë meta fresh£º
ASP ÖУ¬ÎÒÃÇÏ°¹ßʹÓà Response.Redirdect À´ÊµÏÖÒ³ÃæµÄÌøת£¬µ«ÊÇÕâÖÖÌøת·½Ê½µÄ״̬ÊÇ 302 µÄ£¬ÊôÓÚÁÙʱÌøת£¬¶ÔÓÚËÑË÷ÒýÇæÀ´Ëµ£¬ÊÇÒ»ÖÖ²»ÓѺõÄÖض¨Ïò·½Ê½¡£
ASP 3.0 ÖУ¬ÓÐÁËÁíÒ»ÖÖ·½Ê½£¬¼´ Response.Transfer ¡£¹ØÓÚÕâ¸ö£¬¿ÉÒÔ²éѯÏà¹ØµÄÐÅÏ¢¡£
......
Ò»¡¢ÕâÑùÅäÖõĺô¦£¿
²»Öª´ó¼ÒÓÐûÓÐÌý¹ýÅÔ×¢£¿ÎÒ¼òµ¥µÄ½âÊÍһϰɣºÓиöÈËÏëºÚµôAÕ¾µã£¬µ«ÕÒÀ´ÕÒÈ¥¶¼Ã»·¢ÏÖ¿ÉÀûÓõÄ©¶´£¬ÎÞÒâÖÐËû·¢ÏÖÓëAͬ·þÎñÆ÷ÉÏ»¹ÓиöBÕ¾µã£¬²¢ÇÒÔÚBÕ¾µãÉÏÕÒµ½ÁË¿ÉÀûÓõÄ©¶´£¬ÓÚÊÇËû½«Ä¾Âí´ÓBÕ¾ÖÐÉÏ´«ÖÁ·þÎñÆ÷£¬Èç¹û·þÎñÆ÷ȨÏÞÅäÖò»µ±£¬ÄÇôÏÖÔÚËû¾Í¿ÉÒÔºÚµô·þÎñÆ÷ÉϵÄËùÓÐÕ¾µãÁË£¡Èç¹ûÎÒÃÇΪà ......
<%
'µ÷ÊÔ£ºJAVAÖÐÎÄÍø:www.javaweb.cc/
'×¢Ò⣬°´ÕÕËù·ÅÖõÄĿ¼²»Í¬ÇëÐÞ¸ÄobjXmlHttpºÍÉú³ÉÊ×ҳ·¾¶
dim objXmlHttp,binFileData,objAdoStream
set objXmlHttp = Server.CreateObject("Microsoft.XMLHTTP")
objXmlHttp.open "GET","http://"&request.ServerVariables("HTTP_HOST")&"/index.asp",false ......
Ä¿Ç°£¬×î³£ÓõÄÈýÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔÓÐASP(Active Server Pages),JSP(Java Server Pages),
PHP (Hypertext Preprocessor)¡£
¼ò ½é
¡¡¡¡ASPÈ«ÃûActive Server & ......
¡¡¡¡Ñ§Ï°Ä¿µÄ£ºÑ§»áÓÃ±íµ¥ÔªËØÏò·þÎñÆ÷´«ËͱäÁ¿£¬È»ºóÏÔʾ±äÁ¿ÔÚ¿Í»§¶ËµÄä¯ÀÀÆ÷¡£
¡¡¡¡Ê×ÏÈ£¬ÈÃÎÒÃÇÀ´¿´Ò»ÏÂDREAMWEAVERµÄ±íµ¥ÔªËØëˢ¡£
¡¡¡¡ÏÂÃæÎÒÃÇÀ´Ò»¸öÒ»¸ö¿´±íµ¥ÔªËØ¡£1¡¢Îı¾Óò£¬Õâ¸öÊÇ×î»ù±¾µÄ£¬´«Ë͵ÄÊÇÎı¾ÐÅÏ¢£¬Ò»°ãÓû§Ãû£¬ÃÜÂ붼ҪÓÃÕâ¸ö´«ËÍ£¬²»¹ýÒªÊÇÃÜÂëµÄ»°ÒªÔÚÀàÐÍÀïÃæÑ¡ÔñÃÜÂ룬ÕâÑù¾Í»áÒÔ*´úÌæÏÔʾ³ ......