phpnow 开多端口

1:在Apache-20\conf 的 httpd.conf 中 加入 Listen 80   Listen 81   Listen 88

2:在Apache-20\conf \extra  的 httpd-vhosts.conf 中 改成

 

#http://www.PHPnow.org

# filename: httpd-vhosts.conf

<VirtualHost*:80>

<Directory../htdocs/hsxy/html>

AllowOverrideAll

Orderallow,deny

Allowfromall

</Directory>

DocumentRoot../htdocs/hsxy/html

ServerNamedefault:80

ErrorLoglogs/default-error_log

</VirtualHost>

<VirtualHost*:81>

<Directory../htdocs/hsxy/html>

AllowOverrideAll

Orderallow,deny

Allowfromall

</Directory>

DocumentRoot../htdocs/bqdl/html

ServerNamedefault:81

ErrorLoglogs/default-error_log

</VirtualHost>

相关推荐