我在将项目从 MAMP Pro 转移到实时 VPS 服务器时遇到一些问题。在进行此事务时,我复制了所有内容(包括数据库),现在所有内容都已连接。
但是,除了首页之外,所有页面都已损坏。 splinter 如:
404 Not Found The server can not find the requested page:
..*./returns-calculator (port 80) Please forward this error screen to ..*.'s WebMaster.
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at 212.48.65.2 Port 80
- 重写日志:http://pastebin.com/j0QLePH7
- Apache日志:http://pastebin.com/m06D97s7
- .htaccess:http://pastebin.com/LEHugCwi
我已从托管公司确认 mod_rewrite 已启用,并且会自动为网站的每个人启用。
你能帮忙吗?
亲切的问候,
最佳答案
解决方案:
在找到解决方案 3 天后,我再次重建了 vps,并在 .htacess 中使用一个简单的 RewriteBase/~name
就完成了。
关于javascript - Apache 404 错误 - Drupal,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13280015/