apache同一ip设置多端口访问
Listen 192.168.2.148:2000
NameVirtualHost 192.168.2.148:2000
<VirtualHost 192.168.2.148:2000>
DocumentRoot D:/chen/www/nikefed
DirectoryIndex index.html index.php
ServerName 192.168.2.148:2000
<Directory "D:/chen/www/nikefed">
AllowOverride all
Allow from all
Options -Indexes
</Directory>
</VirtualHost>
本文永久地址:https://sjolzy.cn/apache-multi-port-access-to-the-same-ip-settings.html
--EOF--
- 上一篇: "执子之手,与子偕老” 全文
- 下一篇: Magento请求分发与控制器