Gitblog在apache上怎么配置?
配置Gitblog访问出404,据说Gitblog的URL是伪静态的,怎么配置apache伪静态啊?
有谁知道配置apache 运行Gitblog博客?
Gitblog官网文档有SAE的配置,配置成功了,但是Apache上我失败了,求助!
走同样的路,发现不同的人生
伪静态 你首先要把伪静态的文件.htaccess放到网站根目录下,然后apache配置虚拟主机 ,类似: (我这里的是apache 2.4) Options Indexes FollowSymLinks Includes ExecCGI AllowOverride all Require all granted ServerAdmin admin@fenqile.com DocumentRoot "I:/app" ServerName info.me ErrorLog "logs/info-error.log" CustomLog "logs/info-access.log" combined
伪静态 你首先要把伪静态的文件.htaccess放到网站根目录下,然后apache配置虚拟主机 ,类似:
(我这里的是apache 2.4)
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride all
Require all granted
ServerAdmin admin@fenqile.com
DocumentRoot "I:/app"
ServerName info.me
ErrorLog "logs/info-error.log"
CustomLog "logs/info-access.log" combined