EllisLab text mark
Advanced Search
     
Internal 500 Error
Posted: 10 November 2012 07:53 AM   [ Ignore ]
Joined: 2012-08-29
2 posts

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

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

In my routes.php

$route['default_controller'"home"

my htaccess file

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.

######
[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.

 
Posted: 10 November 2012 08:02 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-08
524 posts

removed my original post.
Ooops, I think the exact error is already posted by your server admin.

 Signature 

Stick with it, practice it and have fun with it.

 
Posted: 10 November 2012 08:43 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2010-06-17
163 posts

I think you need a RewriteBase rule.
I use this:

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]