【发布时间】:2013-02-28 16:38:49
【问题描述】:
如果不使用 .htaccess,index.php/path 可以在服务器上工作,但不能在本地工作(404 错误)。那么 apache 上的配置是什么。
【问题讨论】:
-
服务器没有为此使用 mod_rewrite?
-
我猜你可以有一个名为
index.php的文件夹,不是吗? (对文件系统不太熟悉) -
@caiosm1005 on joomla 我们使用
index.php/contact代替index.php?option=com_contact,如果我们不使用.htaccess(网址重写)的帮助 -
@caiosm1005 - 可能,但您仍然需要重写以避免扩展名 (*.php)