Welcome Guest, Not a member yet? Register   Sign In
two .htaccess, mod_rewrites ? redirect to controller method
#3

[eluser]coldfire82[/eluser]
In firebug, I get the header location as

Code:
http://mysite.com/business/indexg/business_unit/index.php?/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/indexg/business_unit/index.php&/1

...


above, it repeated 21 times this,
Code:
indexg/business_unit/index.php?/
and browser gives error "The page isn't redirecting properly"

I am using

Code:
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L,QSA]


  RewriteCond %{QUERY_STRING} ^gclid=(.*)
  RewriteRule ^$ index.php?/$1 [L]
  
  RewriteCond %{QUERY_STRING} ^utm_source=(.*)
  RewriteRule ^$ index.php?/$1 [L]

  RewriteRule ^([^/]+)/?$ /business/indexg/business_unit/$1 [R]
</IfModule>


Messages In This Thread
two .htaccess, mod_rewrites ? redirect to controller method - by El Forum - 10-20-2010, 08:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB