kurogo 搭建出现问题整理

摘要:英语水平有限啊,溜鸡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 y

英语水平有限啊,溜鸡500+还是不够的。

002UASMrzy7605pjKJv15&690.jpg

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/www folder.

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.搭建环境的时候apache的http.conf需要启用虚拟vhost

2.在vhost.conf中需要填写虚拟主机

3.虚拟主机的格式如下

<VirtualHost *:80>
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
<Directory "D:GitHub repositoryKurogoKurogo-Mobile-Web">
Allow from all
Require all granted
AllowOverride FileInfo
</Directory>
</VirtualHost>

 

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中出现的问题!妈蛋果断补英语去啊