Welcome Guest, Not a member yet? Register   Sign In
a newbie tries to implement "Managing your Applications"
#1

[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-gui..._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?





Theme © iAndrew 2016 - Forum software by © MyBB