安裝好php+mysql服務器一鍵安裝包 找到這個 C:PC_webserverapacheconf httpd.conf 打開文件
下面加
NameVirtualHost *:80 ? ?ServerName daixiao# ?DocumentRoot c:/PC_webserver/wwwroot ? ? ?ServerName www.daixiao#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:/WINDOW/Ssystem32/drive/rsetc/hosts
最下面加上
120.24.66.120 ? ? ? daixiao#120.24.66.120 ? ? ? www.daixiao#
就可以允許帝國cms了
新聞熱點
疑難解答