Solved

Problems with CodeIgniter in a subdirectory..??

Posted on 2011-02-20
1
1,090 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
1 Comment
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

763 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now