Welcome Guest, Not a member yet? Register   Sign In
Working with 2 applications
#1
Question 
(This post was last modified: 12-27-2015, 05:07 AM by lama.)

Hello,

I'm trying to redevelop my ecommerce with CI3 but I was already blocked with my two applications folder Undecided

I have this folders :
  • applications/frontend/
  • applications/backend/

What I set :

index.php (root)
PHP Code:
$application_folder 'applications/frontend'

applications/frontend/index.php
PHP Code:
$application_folder '../frontend';
$system_path '../system'

applications/frontend/config/config.php
PHP Code:
$config['base_url'] = 'http://localhost/eshop/frontend/'

applications/backend/index.php
PHP Code:
$application_folder '../backend';
$system_path '../system'

applications/backend/config/config.php
PHP Code:
$config['base_url'] = 'http://localhost/eshop/backend/'


Using REQUEST_URI and no index_page blank, all .htaccess are set like this :
PHP Code:
RewriteEngine On
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*)$ index.php/$[L

I'm well redirected on the frontend default controller when I go to localhost/eshop but when I type localhost/eshop/backend I have the 404 default error page.

Any idea ?

Thanks Smile
Reply


Messages In This Thread
Working with 2 applications - by lama - 12-27-2015, 05:05 AM
RE: Working with 2 applications - by wolfgang1983 - 12-28-2015, 11:32 PM
RE: Working with 2 applications - by lama - 01-06-2016, 01:40 PM
RE: Working with 2 applications - by wolfgang1983 - 01-06-2016, 02:13 PM
RE: Working with 2 applications - by lama - 01-14-2016, 02:40 PM
RE: Working with 2 applications - by waptik - 01-18-2016, 09:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB