怎样配置Apache虚拟主机

    1.基于ip地址的虚拟主机 Listen 80 <VirtualHost 172.20.30.40> DocumentRoot /home/httpd/html1 ServerName www.ok1.com ErrorLog /usr/local/apache/logs/error1_log CustomLog /usr/local/apache/logs/access1_log combined </VirtualHost> <VirtualHost 172.20.30.50> DocumentRoot /home/httpd/html2 ServerName www.ok2.com ErrorLo...阅读全文
    作者:绝缘体.. | 分类:囤技术, 首页 | 阅读: | 标签:,