Hello,
I'm trying to redevelop my ecommerce with CI3 but I was already blocked with my two applications folder
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/$1 [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