500 internal server error routing codeigniter 3

时间:2015-09-14 15:45:04

标签: php .htaccess codeigniter routing codeigniter-3

I Know this question is already asked but I've not found how solve my problem. I use codeigniter 3

This is my .htaccess :

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

This links work :

- http://domain/cercle/
- http://domain/index.php/cercle/

But they don't :

- http://domain/jeu/carafe/5
- http://domain/index.php/jeu/carafe/5

And my test don't work also:

- http://domain/aie

My config['route']:

$route['cercle/']                                           = 'cercle';
$route['carafe/(:int)']                                     = 'jeu/carafe/$1';
$route['aie']                                               = 'jeu/carafe/5';

My config['index_page'] :

$config['index_page'] = '';

(don't work better if I add 'index.php';)

My config['uri_protocol'] :

$config['uri_protocol'] = 'REQUEST_URI';

If I config with QUERY_STRING, the browser always display the homepage

My server work with ISPconfig and I try CGI, Fast-CGI, suPHP, mod-Php ^^

Please save me !

EDIT : When I select Fast-CGI I've not a Internal Error but this message : No input file specified. :(

0 个答案:

没有答案