apache 中开关某虚拟主机的php功能
2002-10-30      
打印自: 安恒公司
地址: HTTP://www.anheng.com.cn/news/article.php?articleid=47
apache 中开关某虚拟主机的php功能

在虚拟主机的设置小节中添加php_flag engine on/off

如:

<VirtualHost 61.156.20.89:80>
ServerName xxxxxx.com
php_flag engine off
serveralias www.xxxxxx.com
ServerAdmin webmaster@hanxiao2000.com
DocumentRoot "/home/xxxxxx/htdocs"
</VirtualHost>

责任编辑: admin