As of right now... This is the address that shows up when I run the application (and it's functional).
http://localhost:8888/baseline/index.php
If I take away the index.php it also works...
http://localhost:8888/baseline/
Running these two URI's is the same as running this function (which is functional).
http://localhost:8888/baseline/index.php/RegisterController/index
But if I try and run it without the index.php it's not functional...
http://localhost:8888/baseline/RegisterController/index
In my code I have 2 .htaccess files...
In the one that is right underneath "views" the code is this...
Deny from all
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
In the one underneath "system" the code is this...
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
# my url is http://localhost/arny
#RewriteBase /arny/
# set your own
RewriteBase /
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
This is what my config file looks like...
I've tried setting it from 'AUTO' to 'PATH_INFO' and haven't had any luck there. There has been some talk about changing things on Apache but I have no idea how to do that.
I already checked out the following posts and wasn't able to get this working...
I'm currently running...
- Netbeans 7.3.1
- CodeIgniter + Twitter BootStrap Boilerplate
- MAMP 2.2
Definitely let me know what other information I can provide and I'll re-edit the post. I definitely feel like an idiot after wading through these other pieces of documentation and still not being able to get this figured out.