【问题标题】:cs cart (php, apache) links on local computer doesn't work. reciving 404error本地计算机上的 cs cart (php, apache) 链接不起作用。收到 404 错误
【发布时间】:2016-10-08 22:16:56
【问题描述】:

我已将我的 cs 购物车复制到我的本地计算机并进行设置和配置。

Cs 购物车打开并运行 - 一切正常。 管理面板正常工作,面板管理页面之间的所有流程都很好。

但我无法在店面页面之间移动。 我收到了 404

点击链接 url 后的样子: http://localhost:8888/sitename.pl/index.php?dispatch=%2Fsitename.pl%2F类别%2F

而不是在线版本,例如: https://sitename.pl/category/

但是当我尝试手动输入:“localhost:8888/sitename.pl/category/” 我也收到了 404。

这是我的配置文件的一部分,如下所示:

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'localhost:8888';
$config['http_path'] = '/sitename.pl';

// Host and directory where software is installed on secure server
$config['http_host'] = 'localhost:8888';
$config['http_path'] = '/sitename.pl';

我的 cs 购物车在我的 htdocs 内的文件夹“sitename.pl”中

我在 Os X 上使用 MAMP

【问题讨论】:

    标签: php apache mamp cs-cart localserver


    【解决方案1】:

    好的,我找到解决方法了。

    您的本地机器上似乎没有安装mod_rewrite模块或安装不正确。

    我们需要在您商店的管理面板中的加载项 > 管理加载项页面上禁用 SEO 加载项,并检查问题是否仍然存在。

    【讨论】:

    • 加上安全设置禁用店面的安全连接
    • 在过去的 3-4 小时里,我一直在努力寻找解决方案。他们甚至没有在他们的文档中?他们有一个文档解释如何使用清漆缓存进行反向代理,他们已经提到在 8080 上运行该应用程序,但未能解释 SEO 插件会搞砸......非常感谢队友!这对我有帮助!
    猜你喜欢
    • 1970-01-01
    • 2014-06-16
    • 2014-07-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-05-17
    • 2011-08-18
    相关资源
    最近更新 更多