.htaccess error with Apache2 (too many redirects)

Status
Not open for further replies.

masood123

Member
Sep 10, 2011
68
3
Hi, im getting this error:

Code:
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.


I am almost certain that it is caused by the .htaccess file. anyone know how to fix it?

I'm running apache2 on Ubuntu.
 

masood123

Member
Sep 10, 2011
68
3
Problem Fixed:

Basically when you load the $_GET['url'] variable is NULL. So to solve this add the following at the top of index.php:
Code:
if(!isset($_GET['url'])){
$_GET['url'] = index;
}
 
Status
Not open for further replies.

Users who are viewing this thread

Top