removing index.php of codeigniter on local

Posted by Aldi Aryanto on Stack Overflow See other posts from Stack Overflow or by Aldi Aryanto
Published on 2013-10-19T09:50:21Z Indexed on 2013/10/19 9:53 UTC
Read the original article Hit count: 125

Filed under:
|
|
|

i'm trying to remove index.php,in my localhost, but it seems doesn't working,its on http://localhost/testing

i put .htacces in 'testing' directory under the htdocs

LoadModule rewrite_module modules/mod_rewrite.so at apache/conf also already uncheck

here my .htaccess

RewriteEngine On
RewriteBase /testing/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /testing/index.php/$1 [L]

here my config

$config['base_url']    = "http://localhost/testing";
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';

when i access login controller, it's not found

Not Found

The requested URL /testing/login was not found on this server.

I really don't know what to try next. Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about php

Related posts about apache