安裝好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了
新聞熱點
疑難解答