本地计算机上的 cs cart (php, apache) 链接不起作用。收到 404 错误
cs cart (php, apache) links on local computer doesn't work. reciving 404error
我已将我的 cs 购物车复制到我的本地计算机并进行设置和配置。
Cs 购物车打开,运行 - 一切正常。
管理面板正在运行,面板管理页面之间的所有流程都很好。
但我无法在店面页面之间移动。
我收到了 404
点击 link 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
好的,我找到了解决这个问题的方法。
似乎 mod_rewrite 模块未安装或在您的本地计算机上安装不正确。
我们需要在您商店管理面板的附加组件 > 管理附加组件页面上禁用 SEO 附加组件,并检查问题是否仍然存在。
我已将我的 cs 购物车复制到我的本地计算机并进行设置和配置。
Cs 购物车打开,运行 - 一切正常。 管理面板正在运行,面板管理页面之间的所有流程都很好。
但我无法在店面页面之间移动。 我收到了 404
点击 link 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好的,我找到了解决这个问题的方法。
似乎 mod_rewrite 模块未安装或在您的本地计算机上安装不正确。
我们需要在您商店管理面板的附加组件 > 管理附加组件页面上禁用 SEO 附加组件,并检查问题是否仍然存在。