不工作,我得到以下错误,而建立生产服务器上mode_rewrite:试图使用ErrorDocument来处理请求时遇到笨 - mod_rewrite的在生产服务器
404 Not Found错误。
我在应用程序文件夹外有index.php,所以我设置路径为$ application_folder & $ system_path。
我的文件夹结构:!
folder_A:
folder_A1:
index.php
js
css
folder_A2:
application
system
这里是htaccess的,在folder_A1
RewriteEngine叙述上
的RewriteCond%{} REQUEST_FILENAME -f
的RewriteCond%{} REQUEST_FILENAME -d
RewriteRule ^(。*)$ index.php/$ 1 [L]
我给了$ config ['index_page'] ='';
我试过RewriteBase'/'以及'路径/到/应用程序',但徒劳无功。
您能否找到解决方案?