apache的httpd.conf中设置虚拟主机

| |
[不指定 2008/07/12 13:13 | by sunle ]
看看我的吧,我这是名字型虚拟主机  
    
  #   Virtual   hosts  
  NameVirtualHost   192.168.1.2  
    
  #main  
    
            ServerAdmin   admin@hqywork.com  
            ServerName   host.hqywork.com  
            DocumentRoot   /var/www/html      
    
    
  #   WEB   SL   HEAD  
    
            ServerAdmin   admin@hqywork.com  
            ServerName   websl.hqywork.com  
            DocumentRoot   /mnt/Work/websl      
    
    
  #   8888.com  
    
          ServerAdmin   php_mysql@hqywork.com  
          ServerName   8888.hqywork.com  
          DocumentRoot   /mnt/Work/8888.com        
  
网站制作 | 评论(0) | 引用(0) | 阅读(230)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]