04-05-2010, 09:07 AM
[eluser]Ninjabear[/eluser]
I've got my Code Igniter installation working now as per previous post, but the htaccess file is not working. I'm just using the recommended declaration of:
When I type www.danielsportfolio.co.uk/codeigniter/ The browser just hangs for ages and then gives me the message:
If I add in the index.php to the end like this www.danielsportfolio.co.uk/codeigniter/index.php then the page will load fine. If i add the main controller (in my case main) then it gives me the error as well.
How do I fix this please?
I've got my Code Igniter installation working now as per previous post, but the htaccess file is not working. I'm just using the recommended declaration of:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|resources)
RewriteRule ^(.*)$ /index.php/$1 [L]
When I type www.danielsportfolio.co.uk/codeigniter/ The browser just hangs for ages and then gives me the message:
Code:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
# This problem can sometimes be caused by disabling or refusing to accept cookies.
If I add in the index.php to the end like this www.danielsportfolio.co.uk/codeigniter/index.php then the page will load fine. If i add the main controller (in my case main) then it gives me the error as well.
How do I fix this please?