Èç¹ûÄãµÄÍøÕ¾ÐèÒª°á¼Ò¡¢»»ÓòÃû»òÊÇÏëÒª½«ÄúµÄÁ½¸öÍøÖ·Ö»Ö¸ÏòÒ»¸öÍøÖ·£¬±ÈÈçÒª½«£º***.comÖض¨Ïòµ½£ºwww.****.com,²¢ÇÒÊÇÓÀ¾ÃµÄ£¬ÕâʱÄãÐèÒª½øÐÐ301Öض¨Ïò¡£301Öض¨Ïò¿ÉÒÔ½«ÄúÍøվȨÖØתÒƵ½ÁíÒ»¸öÍøÖ·ÉÏ£¬Èç¹û²»×ö301»òÊÇ302¾Í»á³öÏÖÁ½¸öһģһÑùÍøÕ¾£¬ºÜ¿ÉÄܱ»ËÑË÷ÒýÇæÎóÈÏΪÊÇÒ»¸öÀ¬»øÕ¾¡¢ÔÚ×÷±×£¡½ñÌìÎҾ͸ø´ó¼Ò½²½²ÔõôÔÚzblogÖÐÉèÖÃ301£¬½«***.comÖض¨Ïòµ½:www.***.com¡£
301Öض¨Ïò´úÂ룺
if request.ServerVariables("SERVER_NAME")="***.com" then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.****.com"
Response.End
end if
1¡¢Ê×ÏÈҪȷ¶¨Äã¼´½«ÒªÖض¨ÏòµÄÍøÖ·ÊÇ·ñÒѾ½âÎö(È磺ÎҵIJ©¿Í***.comÒѽâÎöµ½ÎҵĿռäÉÏ)£»
2¡¢´ò¿ªÍøÕ¾¸ùĿ¼£¬ÕÒµ½default.aspÎļþ£»
3¡¢½«´úÂë¼ÓÈëµ½default.asp£¬¾ßÌåλÖÃÇë¿´ÏÂͼ£¬×¢ÒâºìÉ«¿òÄÚÊÇÄúÒªÐ޸ĵĵØÖ·£»
4¡¢Ð޸ĺú󱣴æÉÏ´«£¬²¢²âÊÔÊÇ·ñ³É¹¦£¬
5¡¢²âÊÔÊÇ·ñ³É¹¦£¬½øÐÐÒ³ÃæHTTP״̬²éѯ£¬µØÖ·£ºhttp://tool.chinaz.com/pagestatus/£¬Èç·µ»Ø״̬ÂëΪ301£¬Ôò²Ù×÷³É¹¦¡£
ÕâÑù×öºÃÖض¨Ïò£¬ÒԺ󲻹ܱðÈËÊÇÊäÈë´øwwwµÄ£¬»¹ÊDz»´øwwwµÄ£¬¶¼ÄÜ·ÃÎÊÄãµÄÕ¾£¬¶øÇÒ²»»á±»ËÑË÷ÒýÇæ³Í·£¡£
Ô´´ÎÄÕÂÇë×¢Ã÷תÔØ×Ô:ÇàɫС°×²©¿Í ±¾ÎĵØÖ·£ºhttp://www.xiaobai5.com/website/23.html
ÍƼöÐÅÏ¢
- ¹¹½¨¸ß¿ÉÓú͵¯ÐÔÉìËõµÄKV´æ´¢ÏµÍ³
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨¶þ£©
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨Ò»£©
- Ðì¹úÏ飺΢²©ÊÇ·ñ»á²ÎÓëÍøÕ¾ÅÅÃû
- ApacheÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú¼ò·¨
- ÈçºÎ½øÐÐÍøÕ¾Õï¶Ï ΪÍøÕ¾½øÐÐÆÀ·Ö
- Ò»¸ö³É¹¦µÄÕ¾³¤Ó¦¸Ã¾ß±¸µÄËØÖÊ
- Ò»Ìõ΢²©Òý·¢µÄ·ÖÎö£ºÈçºÎÈÃ΢²©µÃµ½¹ã·º´«²¥
- ÈçºÎÈÃÒ»¸öÍøÕ¾ÓÐÇ¿´óÉúÃüÁ¦
- פ×ãIDCÃż÷³Ö±Ò¹ÛÍû Õ¾³¤Ñ¡¹º¿Õ¼ä³É¡°¼èÄѵľö¶¨¡±£¿
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
ÆÀÂÛ