Part of the EllisLab Network

Bug Report

Default controller bug when installed in subfolder

Date: 05/09/2008 Severity: Major
Status: Duplicate Reporter: FinalFrag
Version: 1.6.1
Keywords:

Description

When CodeIgniter is installed in a subfolder (e.g. http://www.my-website.com/ci) the default controller doesn’t work anymore. When you visit www.my-website.com/ci/index.php it shows a 404 error, but when you visit www.my-website.com/ci/index.php/welcome it shows the right page.

Expected Result

The welcome controller

Actual Result

404 page

Comment on Bug Report

Page 1 of 1 pages
Posted by: FinalFrag on 9 May 2008 11:01am
FinalFrag's avatar

I found the fix to this with the search function. Sorry I didn’t try that first.

Solution:
$config[’uri_protocol’] = “REQUEST_URI”;

Posted by: Derek Jones on 9 May 2008 11:04am
Derek Jones's avatar

Duplicate of http://codeigniter.com/bug_tracker/bug/3191/.  You may update from the SVN for a fix to avoid the REQUEST_URI workaround.

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?