How can I remove index.php so that the URL tricks CI has can be taken advantage of? When I removed 'index.php' it will through either a 404 error or a 403, even if the necessary class exists on the controllers.
Here's currently my .htaccess on the root:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Other CI specs on config.php:
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
The rewrite_module is enabled.
On httpd.conf:
<Directory />
Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>
EDIT: To be clear, I can access the 'homepage' of my app (http://localhost/projectfolder
). However, when I access a specific controller (http://localhost/projectfolder/admin
), it won't work. But when an index.php is in between the host and the controller (http://localhost/projectfolder/index.php/admin
), it works. I'm looking to resolve the 'index.php' in-between.