I know this has been discussed to death, but now my browser is trying to download my front controller, and I’m pulling my hair out. Here is what I have:
.htaccess:
1 AddHandler application/x-httpd-php5 .php
2
3 <IfModule mod_rewrite.c>
4 RewriteEngine On
5 RewriteBase /
6 RewriteCond %{REQUEST_FILENAME} !-f
7 RewriteCond %{REQUEST_FILENAME} !-d
8 RewriteRule ^(.*)$ index.php/$1 [L]
9 </IfModule>
10
11 <IfModule !mod_rewrite.c>
12 # If we don't have mod_rewrite installed, all 404's
13 # can be sent to index.php, and everything works as normal.
14 # Submitted by: ElliotHaughin
15
16 ErrorDocument 404 /index.php
17 </IfModule>config settings:
$config['base_url'] = "http://localhost/";
$config['index_page'] = "";
$config['uri_protocol'] = "AUTO";Any help would be greatly appreciated!