Welcome Guest, Not a member yet? Register   Sign In
HTACCESS - A Complex Problem
#2

[eluser]mddd[/eluser]
Why are you doing this in .htaccess? Just change this:
Code:
RewriteRule ^(.*)$ index.php/pages/load_page/$1 [L]
back into this:
Code:
RewriteRule ^(.*)$ index.php/$1 [L]

and do the routing in your routes.php:
Code:
$route['auth/(:any)'] = 'auth/$1'; // this doesn't change a thing for any url starting with auth/
$route['(:any)'] = 'pages/load_page/$1'; // all other pages go to pages/load_page


Messages In This Thread
HTACCESS - A Complex Problem - by El Forum - 07-21-2010, 05:00 AM
HTACCESS - A Complex Problem - by El Forum - 07-21-2010, 06:30 AM
HTACCESS - A Complex Problem - by El Forum - 07-21-2010, 07:07 AM
HTACCESS - A Complex Problem - by El Forum - 07-22-2010, 03:40 PM
HTACCESS - A Complex Problem - by El Forum - 07-23-2010, 12:49 AM
HTACCESS - A Complex Problem - by El Forum - 07-23-2010, 08:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB