安装好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了
新闻热点
疑难解答