title: Unable to access url without index.php in CodeIgniter project
body: <p>I'm trying to setup the CodeIgniter project on local.
  For example : <a href="http://fit.now/index.php/Admin/dashboard" rel="nofollow noreferrer">http://fit.now/index.php/Admin/dashboard</a>
  If I try to access other url instead of main url <a href="http://fit.now" rel="nofollow noreferrer">http://fit.now</a>.
  then It return 404.<br>
  <strong>my .htaccess file code</strong></p>
  <pre><code>&lt;IfModule authz_core_module&gt;
      Require all denied
  &lt;/IfModule&gt;
  &lt;IfModule !authz_core_module&gt;
      Deny from all
  &lt;/IfModule&gt;
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
  </code></pre>
  <p><strong>route.php file</strong><br></p>
  <pre><code>$route['default_controller'] = 'Index';
  $route['logout'] = 'login/logout';
  $route['404_override'] = '';
  $route['translate_uri_dashes'] = FALSE;
  </code></pre>
  <p><strong>httpd-vhost.conf file</strong><br></p>
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot &quot;C:/xampp/htdocs/Admin/&quot;
      ServerName fitbit.now
  &lt;/VirtualHost&gt;
  </code></pre>
  <p>local host file
  <a href="https://i.stack.imgur.com/pvRCg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pvRCg.png" alt="enter image description here" /></a></p>
  <p><strong>my config.php file</strong></p>
  <pre><code>&lt;?php
  defined('BASEPATH') OR exit('No direct script access allowed');
  
  $config['base_url'] = 'http://fitbit.now/';
  $config['index_page'] = '';
  $config['uri_protocol'] = 'REQUEST_URI';
  $config['url_suffix'] = '';
  $config['language'] = 'english';
  $config['charset'] = 'UTF-8';
  $config['enable_hooks'] = FALSE;
  $config['subclass_prefix'] = 'MY_';
  $config['composer_autoload'] = FALSE;
  $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
  $config['enable_query_strings'] = FALSE;
  $config['controller_trigger'] = 'c';
  $config['function_trigger'] = 'm';
  $config['directory_trigger'] = 'd';
  $config['allow_get_array'] = TRUE;
  $config['log_threshold'] = 0;
  $config['log_path'] = '';
  $config['log_file_extension'] = '';
  $config['log_file_permissions'] = 0644;
  $config['log_date_format'] = 'Y-m-d H:i:s';
  $config['error_views_path'] = '';
  $config['cache_path'] = '';
  $config['cache_query_string'] = FALSE;
  $config['encryption_key'] = '';
  $config['sess_driver'] = 'files';
  $config['sess_cookie_name'] = 'ci_session';
  $config['sess_expiration'] = 7200;
  //$config['sess_save_path'] = NULL;
  $config['sess_save_path'] = sys_get_temp_dir();
  $config['sess_match_ip'] = FALSE;
  $config['sess_time_to_update'] = 300;
  $config['sess_regenerate_destroy'] = FALSE;
  $config['cookie_prefix']    = '';
  $config['cookie_domain']    = '';
  $config['cookie_path']      = '/';
  $config['cookie_secure']    = FALSE;
  $config['cookie_httponly']  = FALSE;
  $config['standardize_newlines'] = FALSE;
  $config['global_xss_filtering'] = FALSE;
  $config['csrf_protection'] = FALSE;
  $config['csrf_token_name'] = 'csrf_test_name';
  $config['csrf_cookie_name'] = 'csrf_cookie_name';
  $config['csrf_expire'] = 7200;
  $config['csrf_regenerate'] = TRUE;
  $config['csrf_exclude_uris'] = array();
  $config['compress_output'] = FALSE;
  $config['time_reference'] = 'local';
  $config['rewrite_short_tags'] = FALSE;
  $config['proxy_ips'] = '';
  </code></pre>