首页 > CMS建站 > 帝国Empire > 正文

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

2021-12-23 13:23:47
字体:
来源:转载
供稿:网友

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

下面加

NameVirtualHost *:80    ServerName daixiao360.cn  DocumentRoot c:/PC_webserver/wwwroot      ServerName www.daixiao360.cnDocumentRoot 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:/WINDOW/Ssystem32/drive/rsetc/hosts

最下面加上

120.24.66.120       daixiao360.cn120.24.66.120       www.daixiao360.cn

就可以允许帝国cms

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表