PHPPennyAuction 中的 HTAccess
过去几个小时我遇到了一个问题。对于客户,我需要通过他的 .htaccess 文件将一些网址重定向到其他特定网址。我刚刚从 Filezilla 浏览了他的 ftp,因为他有云托管,没有任何 cpanel。我只有一个 .htaccess 文件,其中仅包含 301 重定向,我将其上传到 /content 文件夹中。然后我打开该网站并看到它死了,然后它就可以正常工作了。现在,每当我打开网站时,我都会收到此信息
Upgrade in progress.
Copy changes to updated version(complete 4:45)
Copy settings to updated version(complete 5:00)
Back up whole site.(complete 6:44)
Back up the database(complete 6:45)
Upgrade database(complete 6:49)
Upload new code
。如果我尝试访问 /index.php,我会收到此信息。
phpPennyAuction
phpPennyAuction is not yet completely installed.
Please check the following:
That both of your .htaccess files are present and correct.
That your server has mod_rewrite installed
That your server is configured with AllowOverride set to All
If you need further assistance, please contact phpPennyAuction Support.
All contents © 2010 Scriptmatix Ltd. phpPennyAuction
在放入 .htaccess 文件之前一切都很好。我刚刚删除了 .htaccess 文件,重命名了缓存文件夹,但仍然存在同样的问题。我可能会付给任何帮助解决这个问题的人一杯咖啡。
PS:不建议在他们的论坛上询问,只需联系他们的支持人员即可,该人非正式地说“我不确定问题是什么,我将收取 300 美元”。
这对我来说是一个大麻烦,感谢帮助。
谢谢 卡齐姆
I've just had a problem from last few hours. For a client I needed to redirect some urls to other specific urls through his .htaccess files. I just went through his ftp from Filezilla as he has cloud hosting, there wasn't any cpanel. I just had a .htaccess file which contains only 301 redirects, I uploaded it into /content folder.. Then I opened the site and saw it dead, before it it was working fine. Now whenever I open the site I receive this
Upgrade in progress.
Copy changes to updated version(complete 4:45)
Copy settings to updated version(complete 5:00)
Back up whole site.(complete 6:44)
Back up the database(complete 6:45)
Upgrade database(complete 6:49)
Upload new code
If I try to go to /index.php I receive this.
phpPennyAuction
phpPennyAuction is not yet completely installed.
Please check the following:
That both of your .htaccess files are present and correct.
That your server has mod_rewrite installed
That your server is configured with AllowOverride set to All
If you need further assistance, please contact phpPennyAuction Support.
All contents © 2010 Scriptmatix Ltd. phpPennyAuction
Before just putting .htaccess file everything was fine. I just removed my .htaccess file, renamed the cache folder still the same problem. I might pay a little cup of coffee to anyone who helps fixing in this.
P.S Don't advise to ask on their forum, just contact their support the guy unofficially said "I'm not sure what's the problem I will charge 300 USD".
It is a big trouble for me, help appreciated.
Thanks
Kazim
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为当您上传 htaccess 文件时,您覆盖了 phpPennyAuction 使用的 htaccess 文件。
尝试找到原始的 htaccess 文件并将其放回去。它们应该位于原始的“安装程序”或下载中。
之后,您可以将 301 文件的内容放在 htaccess 的顶部。
I think that when you uploaded the htaccess file you overwrote the htaccess file used by phpPennyAuction.
Try to find the original htaccess file(s) and put them back. They should be in the original "installer" or download.
After that you could put the content of your 301 file a the top of the htaccess.
您需要文件夹中提供的 .htaccess 文件:
install-data/packages/01/phppa.zip/.htaccess
You need the
.htaccess
file that is provided in the folder:install-data/packages/01/phppa.zip/.htaccess