Welcome Guest, Not a member yet? Register   Sign In
Multiple Application
#6

[eluser]LittleNinjaCoder[/eluser]
Ok. I did this.

1. Create backoffice folder, create backoffice into backoffice

2. Rename application to frontend

3. Copy all frontend content into backoffice/backoffice

4. Copy index.php into backoffice

5. Change the path in both index.php

now http://site calls /frontend

and http://site/backoffice calls /backoffice/backoffice

I couldn't use backoffice because if I change index.php file name I need to change .htaccess and I dont know how to do it.

Now is like:

RewriteEngine On
RewriteBase /dev/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

So this was the only solution.

Thanks!


Messages In This Thread
Multiple Application - by El Forum - 04-24-2012, 01:53 PM
Multiple Application - by El Forum - 04-24-2012, 02:19 PM
Multiple Application - by El Forum - 04-24-2012, 02:40 PM
Multiple Application - by El Forum - 04-24-2012, 07:07 PM
Multiple Application - by El Forum - 04-24-2012, 10:19 PM
Multiple Application - by El Forum - 04-25-2012, 12:01 PM
Multiple Application - by El Forum - 04-25-2012, 12:12 PM
Multiple Application - by El Forum - 04-25-2012, 12:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB