linux版本是centOS
然后phpinfo()一看看,发现   Virtual Directory Support  disabled  我想开启它,httpd.conf都改过了。各位大侠,有配过的,说说你们怎么开启vhost的,求救。

解决方案 »

  1.   

    WIn下才有.Linux下用mod_rewrite 模块来实现.
      

  2.   


    mod_rewrite?打开 这个so就行啊...不过自己得写规则.
      

  3.   

    先看一楼的回答。Virtual Directory Support是给IIS的。virtual host看apache的手册http://httpd.apache.org/docs/2.0/vhosts/examples.html
      

  4.   

    谢谢helloyou 手册上都是vhost文件的详细配置,学习了。还有主要的配置文件,或者其它的一些步骤怎么做呢