Welcome Guest, Not a member yet? Register   Sign In
.htaccess causing weird redirect issues?
#2

[eluser]n0xie[/eluser]
Try this:
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]

    #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>

And set the URI_Protocol in your config.php to PATH_INFO


Messages In This Thread
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 05:32 AM
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 07:43 AM
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 07:46 AM
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 08:06 AM
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 08:12 AM
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 08:19 AM
.htaccess causing weird redirect issues? - by El Forum - 09-21-2010, 08:30 AM
.htaccess causing weird redirect issues? - by El Forum - 09-28-2010, 08:52 AM
.htaccess causing weird redirect issues? - by El Forum - 09-28-2010, 10:39 AM
.htaccess causing weird redirect issues? - by El Forum - 10-01-2010, 08:40 AM
.htaccess causing weird redirect issues? - by El Forum - 10-01-2010, 09:14 AM
.htaccess causing weird redirect issues? - by El Forum - 10-01-2010, 11:55 AM
.htaccess causing weird redirect issues? - by El Forum - 10-01-2010, 02:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB