Jump to content

当我使用friendly url之后,总是显示404.php文件

Recommended Posts


环境是win 7 + apache 2.2 + php 5.2.17,prestashop使用的是最新版本的1.4.6.2 (stable) 版本。

一开始安装成功后,都没有问题,记得最开始我也生成了.htaccess文件。随后我打开了apache的rewrite,即更改AllowOverride None为All,后台在SEO中进行了更改,自动生成了.htaccess文件。随后,不论我恢复apache中的AllowOverride为None(也包括从apache的original文件中回复httpd.ini文件),还是更改了后台中的SEO,还是删除了.htaccess文件。只要我访问首页都会自动跳转到404.php文件,但是访问其他的页面却可以成功。我即使在网站上输入http://localhost:8080/index.php也会自动跳转到404.php页面。


Share this post

Link to post
Share on other sites
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More