Welcome Guest, Not a member yet? Register   Sign In
Internal 500 Error
#1

[eluser]Unknown[/eluser]
Hi guys,

Everything works fine in my local server running on wamp.
However, after uploading my files I get an internal 500 error.

My test files are in accuretta.lk/framework_projects/sd
I have a controller named "backend".
Therefore, if I try to visit accuretta.lk/framework_projects/sd/backend I get the internal 500 error.

Below are my config an htaccess settings.
Your help is much appreciated since my deadline has already passed for the project.

In my config.php

Code:
$config['base_url'] = "http://accuretta.lk/framework_projects/sd";
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';

In my routes.php
Code:
$route['default_controller'] = "home";

my htaccess file
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]

My server has mod_rewrite enabled.

I contacted my server and they said the below.
Quote:######
[Sat Nov 10 05:07:49 2012] [error] [client 194.28.172.10] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Sat Nov 10 05:07:49 2012] [error] [client 194.28.172.10] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
######

Looks like there is some incorrect rule in the .htaccess file. Please check the problem with the developers of the software you use.

I have no idea what it means.
I have no other option but to give up on my hard work unless I get help.
Please...this is my last resort.
#2

[eluser]solid9[/eluser]
removed my original post.
Ooops, I think the exact error is already posted by your server admin.
#3

[eluser]NeoArc[/eluser]
I think you need a RewriteBase rule.
I use this:

Code:
RewriteEngine On
RewriteBase /my-sub-dir/path-to-index

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /my-sub-dir/path-to-index/index.php [NC,L]




Theme © iAndrew 2016 - Forum software by © MyBB