最新公告
  • 欢迎您光临 我爱模板网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境! 立即加入钻石VIP
  • 用帝国cms自带的一键安装包运行环境php和mysql服务器组件绑定域名

    正文概述 管理员   2025-09-06   6

    安装好php+mysql服务器一键安装包 找到这个 C:PC_webserverapacheconf httpd.conf 打开文件

    下面加

    NameVirtualHost *:80  
    
    <VirtualHost *:80>  
    
    ServerName daixiao360.cn  
    
    DocumentRoot c:/PC_webserver/wwwroot  
    
    </VirtualHost>  
    
    <VirtualHost *:80>  
    
    ServerName www.daixiao360.cn
    
    DocumentRoot c:/PC_webserver/wwwroot  
    
    </VirtualHost>  

    然后也是在这个文件下搜索

    <Directory />  
    
    Options FollowSymLinks  
    
    AllowOverride None  
    
    Order deny,allow  
    
    Deny from all  
    
    </Directory>

    改成

    <Directory />
    
     Options Indexes FollowSymLinks  
    
    AllowOverride None
    
    </Directory>

    即可

    搜索

    <IfModule dir_module>
    
    DirectoryIndex index.html
    
    </IfModule>

    改成

    <IfModule dir_module>
    
    DirectoryIndex index.html  index.php
    
    </IfModule>

    最后找到C:/WINDOW/Ssystem32/drive/rsetc/hosts

    最下面加上

    
    120.24.66.120       daixiao360.cn
    
    120.24.66.120       www.daixiao360.cn

    就可以允许帝国cms了


    我爱模板网 » 用帝国cms自带的一键安装包运行环境php和mysql服务器组件绑定域名

    发表评论

    如需帝国cms功能定制以及二次开发请联系我们

    联系作者
    script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?587cc1e5c052b5b0ce99533beff13c96"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();

    请选择支付方式

    ×
    支付宝支付
    余额支付
    ×
    微信扫码支付 0 元