进入/usr/local/apache/conf/目录下
打开httpd.conf
增加listen端口
Listen 80
Listen 85
在文件的最后增加
<VirtualHost *:85>
DocumentRoot /home/xxxx
ServerNamelocalhost:85
</VirtualHost>
<Directory /home/xxxxx>
OptionsIndexes FollowSymLinks
AllowOverride All
Orderallow,deny
Allow from all
</Directory>
网友评论