Welcome Guest, Not a member yet? Register   Sign In
Facebook Ignited Infinite Loop Problem
#3

[eluser]programmieraffe[/eluser]
Okay, I have one working solution:

I had a htaccess file, to remove the index.php from the URI. (See below)

If I remove this htaccess file and change the config.php to the following, it works:
Code:
$config['uri_protocol']    = 'AUTO';
$config['index_page'] = 'index.php';

htaccess file used before:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    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>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>



But it would be nice if someone could help me out, that i can use clean urls (domain.com/controller/method), because i don't like this way: domain.com/index.php/controller/method.


Messages In This Thread
Facebook Ignited Infinite Loop Problem - by El Forum - 06-22-2011, 02:04 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-22-2011, 06:30 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-22-2011, 08:16 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-22-2011, 08:28 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-22-2011, 03:23 PM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-23-2011, 11:28 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-23-2011, 11:40 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-23-2011, 11:46 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-23-2011, 11:58 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-23-2011, 12:05 PM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-24-2011, 01:10 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-24-2011, 01:41 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-24-2011, 02:16 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-27-2011, 02:13 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-27-2011, 02:33 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 06-27-2011, 05:07 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 07-06-2011, 02:53 PM
Facebook Ignited Infinite Loop Problem - by El Forum - 07-22-2011, 01:42 PM
Facebook Ignited Infinite Loop Problem - by El Forum - 07-30-2011, 09:31 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 07-31-2011, 07:18 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 07-31-2011, 06:58 PM
Facebook Ignited Infinite Loop Problem - by El Forum - 08-02-2011, 08:52 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 08-02-2011, 09:27 AM
Facebook Ignited Infinite Loop Problem - by El Forum - 08-17-2011, 05:38 PM
Facebook Ignited Infinite Loop Problem - by El Forum - 08-18-2011, 08:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB