set up multiple applications |
Hi,
I tried that : In my htaccess located in code_igniter directory : Code: <IfModule mod_rewrite.c> In route.php in /code_igniter/applications/generic_test/config : Code: $route['default_controller'] = 'generic_controller'; In config.php in /code_igniter/applications/generic_test/config : Code: $config['base_url'] = 'http://localhost/code_igniter'; In index.php in code_igniter directory : Code: $application_folder = 'applications/generic_test'; When I run http://localhost/application1/test I've got "The requested URL /application1/test was not found on this server". I checked my rewrite rule on a the site https://htaccess.madewithlove.be/ and "http://localhost/application1/test" should produce "http://localhost/code_igniter/generic_test.php/generic_controller" So I don't understand what's wrong. Thanks for your help |
Messages In This Thread |
set up multiple applications - by fredg - 01-14-2020, 08:38 AM
RE: set up multiple applications - by fredg - 01-16-2020, 04:04 AM
RE: set up multiple applications - by php_rocs - 01-16-2020, 11:43 AM
RE: set up multiple applications - by fredg - 01-16-2020, 01:21 PM
RE: set up multiple applications - by jreklund - 01-16-2020, 11:49 AM
RE: set up multiple applications - by fredg - 01-16-2020, 01:31 PM
RE: set up multiple applications - by fredg - 01-17-2020, 01:39 AM
RE: set up multiple applications - by fredg - 01-17-2020, 04:59 AM
|