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--

随机文章

添加新评论