Solved

Problems with CodeIgniter in a subdirectory..??

Posted on 2011-02-20
1
1,132 Views
Last Modified: 2012-05-11
I've got a CI solution up-and-running on a test server of mine at http://ci.developersandbox.net.  I'm trying to move that into www.mylivesite.com/demo/codeigniter.  I've copied everything exactly and uploaded it into this new directory on the live server.  When I browse to that, though, I get a 404 not found.  If I go back to just /demo I get a regular "forbidden" message.  Then I switch back to /demo/codenither (which I know exists, and has the same structure as it does on the other server) but I get a 404 not found.

I've made sure to update the /system/application/config/config.php so that the base_url matches the new site domain but I must be missing something.

The live site is a WordPress install on the root but /demo/codeigniter is outside of that.  Just for kicks I tried disabling the htaccess file on the site root but that didn't help.  

Any information on how I can get this working would be greatly appreciated.  Thanks!
0
Comment
Question by:Andrew Angell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 34940645
Check the rewriterules of he wordpress installation to excludes the demo/codeignitter site. Check ther error-log to which place the access is rewritten
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

731 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question