【发布时间】:2011-12-15 05:49:22
【问题描述】:
我希望在我的 URI 中同时包含 index.php 和排除 index.php 以在我的网站上顺利运行。我需要它,因为 uploadify 无法正常工作,而且它给了我一个 HTTP 错误。
如果我改变了它就可以了
$config['uri_protocol'] = 'AUTO';
到这里
$config['uri_protocol'] = 'QUERY_STRING';
,但是整个系统无法正常工作。
【问题讨论】:
-
只要确保通过教程让网站在没有
index.php的情况下正常工作。然后,即使您使用 index.php,它也可以工作。 Here's one method of using .htaccess to remove index.php -
谢谢。我已经多次提到该链接并解决了这个问题。但问题是,如果我使用包含 index.php 的 URL 访问该站点,那么所有资产路径都将包含 index.php。我不想在那里。喜欢,
index.php/assets/uploadify/uploadify.swf
标签: php .htaccess codeigniter uploadify