우분투 12.10에서 apache2를 사용하고 있습니다. 하지만 htaccess로 여기에 작동되지 않으며, 나의 htaccess로 파일입니다codeigniter 2.1.3 htaccess not working
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ci/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
$config['base_url'] = 'http://localhost/ci/index.php';
$config[‘index_page’] = “”;
$config[‘uri_protocol’] = “AUTO”;
1 http://localhost/ci/index.php/site/about
2 http://localhost/ci/site/about
첫 번째 작업하지만 난 방법에 대한 아이디어를 작동하려면 두 번째를 원하는 작동하게 만들다. 감사합니다
404 Not Found
The requested URL /ci/site/about was not found on this server.
시도; $ config [ 'base_url'] = '' –
여전히 동일한 오류 메시지입니다. – mercy