CodeIgniter newbie here.
I am trying to get the index.php file removed from the url. Here what I have done so far.
I have created an .htaccess file in the root at the same level as application and have this in the file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I have set $config['index_page'] = '';
I get a 404 not found error with this setup.
When I uncomment Include /private/etc/apache2/extra/httpd-vhosts.conf in the httpd.conf file I get 403 Forbidden.
I assume that the url after removing the index.cfm would be localhost/sites/xxxx/blog
Can anyone help. I have scoured the internet trying various combinations of things and I am tired. I assume this is a OSX thing.