I have used CI 3.x in many projects without index.php in the URL.
How I do that:
.htaccess:
# based on CI 3.x documentation
or
# based on earlier CI
CI 3.x config:
$config['base_url'] = 'http://mypc.local';
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
With configurations above:
it works for http://mypc.local/home
it works for http://mypc.local/index.php/home
it works for other websites which don't utilize GC
it works for http://mypc.local/index.php/examples (GC)
BUT not for http://mypc.local/examples (GC)
it always shows:
Service unavailable!
anyone can help?