そのが機能していない何かが、私は私のroutes.phpファイルでこれを持ってcodeigniter 3のルートを修正するにはどうすればよいですか?
$route['default_controller'] = 'books';
$route['404_override'] = '';
$route['translate_uri_dashes'] = TRUE;
$route['cities']['get'] = 'cities/index';
$route['cities/(:num)']['get'] = 'cities/find/$1';
$route['cities']['post'] = 'cities/index';
$route['cities/(:num)']['put'] = 'cities/index/$1';
$route['cities/(:num)']['delete'] = 'cities/index/$1';
この
Options FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
のような私の.htaccessここでの問題は、私はGoogleChromeをに行くときということです....私はこのようなURLを入力します:.... www.domain.com.mx/project-server/
それは本であることを私にデフォルトコントローラ、またはどこでも。 要求されたURL /プロジェクトサーバー/: しかし、私はこの
ように私のURLでそれを入力したい... www.domain.com.mx/project-server/books それは、このようなエラーが表示されますこのサーバーで都市が見つかりませんでした。
これはgithubの中に私のプロジェクト https://github.com/cmurra/project-server
エラー - コード署名エラーまたはApacheエラーですか? – galchen
まあ、私は本当にshureではない、それはなぜ私はXDを求めているのです – Christian