CodeIgniter Forums
a newbie tries to implement "Managing your Applications" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: a newbie tries to implement "Managing your Applications" (/thread-47109.html)



a newbie tries to implement "Managing your Applications" - El Forum - 11-26-2011

[eluser]Unknown[/eluser]
So I've worked my way thru the 2 tutorials, with appropriate fixes and hacks (can't get the url & form helpers to load via the class constructor and instead used autoload).

For the site I want to use CI on - a sports site - I'm going to need multiple CI applications all running off the main site. Something like this: mysite.com/football, mysite.com/soccer, etc.

So I've checked out the user guide page

http://ellislab.com/codeigniter/user-guide/general/managing_apps.html

and to make things easier to learn I thought I'd construct two new toy blogs - blog and blog2. Following the advice on the page above I made a folder called applications

c:\wamp\www\codeigniter\applications

and created to subfolders off of that: \blog, and \blog2. I then copied the entire folder structure under

c:\wamp\www\codeigniter\application

to each of the \applications subdirs - blog and blog2. I then made a copy of

c:\wamp\www\codeigniter\index.php

to the \applications\blog and \applications\blog2 dirs as mentioned at the very bottom of the user guide page. Then I opened up the \blog2\index.php and made the following entry:

Code:
$system_path = '../system';
$application_folder = 'applications/blog2';

Based on my reading of the user guide page this should enable me to see the new blog2 at

localhost/codeigniter/applications/blog2/index.php

but I'm getting a 403. What am I getting wrong here?