Centos 64位 | PHP5.2 | Apache 除首页外都是404

解决您在不同平台环境下遇到的安装和升级问题
回复
yzz
帖子: 3
注册时间: 2015年 12月 12日 13:25

Centos 64位 | PHP5.2 | Apache 除首页外都是404

帖子 yzz »

RT,Centos 64位 | PHP5.2 | Apache,除了首页..其他都是404 要怎么修改哈 0.0....
头像
m4go
帖子: 857
注册时间: 2010年 3月 29日 02:33
来自: https://www.vpshu.com
联系:

Re: Centos 64位 | PHP5.2 | Apache 除首页外都是404

帖子 m4go »

yzz
帖子: 3
注册时间: 2015年 12月 12日 13:25

Re: Centos 64位 | PHP5.2 | Apache 除首页外都是404

帖子 yzz »

m4go 写了:.htaccess 伪静态 http://app.typecho.me/coder/htaccess.html

是放在www文件目录下吗?
头像
ClayMore
帖子: 2481
注册时间: 2007年 11月 29日 02:55
来自: Sleeping Forest
联系:

Re: Centos 64位 | PHP5.2 | Apache 除首页外都是404

帖子 ClayMore »

是的


__________________

新版阿里百秀Alibaixiu主题 v11.1 For Typecho
http://xiu.160.me/
yzz
帖子: 3
注册时间: 2015年 12月 12日 13:25

Re: Centos 64位 | PHP5.2 | Apache 除首页外都是404

帖子 yzz »

ClayMore 写了:是的


__________________

新版阿里百秀Alibaixiu主题 v11.1 For Typecho
http://xiu.160.me/


但是...并没有效果...还是错误404..
garywoo
帖子: 1
注册时间: 2015年 12月 18日 21:59

Re: Centos 64位 | PHP5.2 | Apache 除首页外都是404

帖子 garywoo »

m4go 写了:.htaccess 伪静态 http://app.typecho.me/coder/htaccess.html


Centos php5.2 apache2.4 也是这个问题,伪静态没有生效

http.conf

<VirtualHost *:80>
DocumentRoot /yjdata/www/www/build
ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:10000/yjdata/www/www/build/$1
DirectoryIndex index.html index.php
</VirtualHost>

请问该如何配置呢?
回复