ApacheÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú¼ò·¨
ÔÎĵØÖ·£ºhttp://www.auiou.com/relevant/00000573.jsp
ÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú£¬¿ÉÒÔÐÞ¸ÄApacheµÄ°²×°Ä¿Â¼ÏµÄconf/httpd.conf£¬ÈçÏ£º
<VirtualHost *:80>
ServerName auciou.com
ServerAlias *.auciou.com
DocumentRoot F:/site/auciou
</VirtualHost>
ÖØÆôApache£¬¾Í¿ÉÒÔÔÚ±¾µØͬʱʹÓÃauciou.comºÍxxx.auciou.comÔÚ±¾µØ·ÃÎÊ£¬xxxΪÈÎÒâµÄ¶þ¼¶ÓòÃû£¬ÊµÏÖÁË·ºÓòÃû½âÎö¡£Óô˷½·¨£¬Ò²¿ÉÒÔÔÚ±¾µØ½¨Á¢¶à¸ö²»Í¬ÓòÃûµÄ·ºÓòÃû½âÎöµÄÐéÄâÖ÷»ú¡£
ÔÚ±¾µØ²âÊÔʱ£¬ÐèÒªÐÞ¸ÄhostsÎļþ£¬´ò¿ªC:\WINDOWS\system32\drivers\etc\hosts£¬Ð´ÈëÕâÑùµÄ¾ä×Ó£º
127.0.0.1 ww2.auciou.com
127.0.0.1 ww3.auciou.com
127.0.0.1 ww4.auciou.com
127.0.0.1 wwa.auciou.com
127.0.0.1 user.auciou.com
127.0.0.1 blog.auciou.com
ÒòΪhosts±¾ÉíûÓзºÓòÃû½âÎö£¬ËùÒÔÔÚ±¾µØ×ö²âÊÔʱ£¬¶þ¼¶ÓòÃûÐèÒªÔÚ±¾µØµÄhostsÎļþÒ»¸öÒ»¸öÌí¼Ó¡£È»ºóÊÖ¶¯±¸·ÝhostsÎļþ£¬ÖØװϵͳ֮ºó£¬¸²¸Ç´ËÎļþ¼´¿É¡£
ÍƼöÐÅÏ¢
- ¹¹½¨¸ß¿ÉÓú͵¯ÐÔÉìËõµÄ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ÎÞÃÜÂëµÇ¼
ÆÀÂÛ