Welcome Guest, Not a member yet? Register   Sign In
Forcing index.php (WAS: Issues Removing index.php)
#10

[eluser]bastones[/eluser]
[quote author="Jonathan Ledbetter" date="1226296493"]bastones,

Thanks for your suggestions, they seem to be doing the trick for at least a temporary solution to my .htaccess problems.

What I ended up doing was removing my Rewrite conditions in my .htaccess file, keeping my DirectoryIndex index.php configuration, and changing my $config['index_page'] to "index.php". That allowed both http://www.jandbledbetter.com/ and http://www.jandbledbetter.com/index.php to resolve to the same controller.

This may end up being a livable solution for me, but if anyone else has any suggestions about the Rewrite conditions and eventually eliminating "index.php", I'm still subscribed to this thread, and I'll try it out and reply.

Thanks again bastones.[/quote]

Hi, I have one more solution if it hasn't already been mentioned or done. You see in the config.php file (config/config.php), the following lines:

Code:
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'            Default - auto detects
| 'PATH_INFO'        Uses the PATH_INFO
| 'QUERY_STRING'    Uses the QUERY_STRING
| 'REQUEST_URI'        Uses the REQUEST_URI
| 'ORIG_PATH_INFO'    Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol']    = "ORIG_PATH_INFO";

I had to change the value of that variable array to ORIG_PATH_INFO for my .htaccess to work; so you can try any of the values stated in the PHP comment see if that works :).

Hope this helps Smile.


Messages In This Thread
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 12:58 AM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 01:18 AM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 01:56 AM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 02:06 AM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 03:00 AM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 03:48 AM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 01:03 PM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 01:44 PM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 05:54 PM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 07:35 PM
Forcing index.php (WAS: Issues Removing index.php) - by El Forum - 11-09-2008, 11:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB