用帝国cms自带的一键安装包运行环境php mysql服务器组件绑定域名

帝国教程 强烈建议 2024-03-04 08:24 122 0

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

  下面加

  NameVirtualHost *:80

  

  ServerName daixiao360.cn

  DocumentRoot c:/PC_webserver/wwwroot

  

  

  ServerName www.daixiao360.cn

  DocumentRoot c:/PC_webserver/wwwroot

  

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

  

  Options FollowSymLinks

  AllowOverride None

  Order deny,allow

  Deny from all

  

  改成

  

  Options Indexes FollowSymLinks

  AllowOverride None

  

  即可

  搜索

  

  DirectoryIndex index.html

  

  改成

  

  DirectoryIndex index.html index.php

  

  最后找到C:WINDOWSsystem32driversetchosts

  最下面加上

  120.24.66.120 daixiao360.cn

  120.24.66.120 www.daixiao360.cn

  就可以允许帝国cms了

本站资源均来自互联网或会员发布,如果不小心侵犯了您的权益请与我们联系。我们将立即删除!谢谢!