Welcome Guest, Not a member yet? Register   Sign In
Need to allow multiple apps from same CI install
#1

[eluser]Unknown[/eluser]
Hi

I am new to CI.

I need to be able to create multiple apps that can be accessed at same time, currently I am using WAMP as my install Appache install.

I see this guidance here:
http://ellislab.com/codeigniter/user-gui..._apps.html

Is there a way to make this work without needing to manually cahnge the Index.php in the www root folder.
$application_folder = "applications/foo";

Thanks for your help
#2

[eluser]rogierb[/eluser]
The way I do it create multiple roots with their own index.php

Folder structure
- CI
- app 1
- app2
- root 1
- root 2
#3

[eluser]Unknown[/eluser]
Hi Rogierb

Thanks for the reply. any thought how to set up Apache so that when an intranet user call app1 , the http://servetname:3066/app1 starts if a second user calls http://servetname:3066/app2 at the same time http://servetname:3066/app2 starts.

Many thanks
Mike
#4

[eluser]rogierb[/eluser]
In apache its called an 'Alias'

Code:
Alias /app1/ "/var/www/app1_root/"
    <Directory "/var/www/app1_root/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride All
        Order deny,allow
        Allow from all
    </Directory>
    Alias /app2/ "/somedir/app2_root/"
    <Directory "/somedir/app2_root/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride All
        Order deny,allow
        Allow from all
    </Directory>
#5

[eluser]Techno Heart[/eluser]
use HMVC Architecture in codeigniter




Theme © iAndrew 2016 - Forum software by © MyBB