vhost配置

vhost:

<VirtualHost *:80>
    DocumentRoot "E:\wamp\www\zend\public"
    ServerName zend.cm
    DirectoryIndex index.php index.php3 index.html index.htm
</VirtualHost>

http.conf:

 

SetEnv     kang  宋建康 #SERVER变量中增加kang,用$_SERVER['kang']获取

 

 

 

 

你可能感兴趣的:(host)