2013-10-01 55 views

回答

0

添加.htaccess文件文件夾中

您在應用程序中設置默認路由控制器名稱/配置/ route.php

  <IfModule mod_rewrite.c> 
      RewriteEngine On 
      RewriteBase /educonnects.com 
      RewriteCond %{REQUEST_FILENAME} !-f 
      RewriteCond %{REQUEST_FILENAME} !-d 
      RewriteRule ^(.*)$ index.php/$1 [L] 
     </IfModule> 

     <IfModule !mod_rewrite.c> 
      ErrorDocument 404 /index.php 
     </IfModule> 

(OR)

您可以在apache httpd的顛覆.conf文件。 你會發現如何設置顛覆