英語水平有限啊,溜雞500+還是不夠的。
Download the Kurogo-Mobile-Web zip archive. This includes the Kurogo-Mobile-Web core code and an example site
Extract the contents of the archive to a folder accessible by your web server
Set the root of your web server to the Kurogo-Mobile-Web/wwwfolder.
Ensure that .htaccess files are enabled. AllowOverride must be set to at least FileInfo. (MAMP on OS X has this option enabled by default)
1.搭建環(huán)境的時候apache的http.conf需要啟用虛擬vhost
2.在vhost.conf中需要填寫虛擬主機
3.虛擬主機的格式如下
ServerName www.kurogo.com
DocumentRoot "D:GitHub repositoryKurogoKurogo-Mobile-Webwww"
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
# Uncomment the line below to move your sites folder to another location
# SetEnv SITES_DIR /path/to/sites
Allow from all
Require all granted
AllowOverride FileInfo
4.需要啟用.htaccess文件,在apche的http.conf文件中啟用如下幾個模塊
1 . 如何讓的本地APACHE器.htaccess
打開httpd.conf(在那里? APACHE目錄的CONF目錄里面),用文本編纂器打開后,查找
(1)
Options FollowSymLinks
AllowOverride None
改為
Options FollowSymLinks
AllowOverride All
LoadModule rewrite_module modules/mod_rewrite.so
以上就是在搭建kurogo中出現(xiàn)的問題!媽蛋果斷補英語去啊