Apache实现多端口多主目录访问多站点

在httpd.conf最后面加入如下:

Listen 810

    ServerAdmin webmaster@name.com
    ServerName 192.168.1.100:810
    DocumentRoot E:phphtdocsyingkekuaile8tuan

    Options Indexes FollowSymLinks
    AllowOverride all
    Order Deny,Allow
    Deny from all
    Allow from all

可实现http://192.168.1.100:810访问 E:\php\htdocs\yingkekuaile8tuan\路径下的php网站.

本文为原创文章,转载请注明出处。

原文链接:https://850406.xyz/post/apache实现多端口多主目录访问多站点

评论(0)

还没有评论,来抢沙发吧~

验证码