lnmp环境下typecho页面404的解决方法
如果虚拟主机已经设置了typecho伪静态,只需要去/usr/local/nginx/conf/vhost/你的域名.conf
找到include enable-php.conf
,替换为include enable-php-pathinfo.conf
,重启nginx即可解决。
如果虚拟主机已经设置了typecho伪静态,只需要去/usr/local/nginx/conf/vhost/你的域名.conf
找到include enable-php.conf
,替换为include enable-php-pathinfo.conf
,重启nginx即可解决。