[emergency] my second application doesn't run... |
01-05-2016, 01:56 PM
(This post was last modified: 01-05-2016, 02:07 PM by lama. Edit Reason: precision )
Hello,
I have a website on live server with CI 2.2.6 with two apps :
I set this in both application PHP Code: $config['enable_query_strings'] = FALSE; in admin/index.php I set PHP Code: $system_path = '../system'; in admin/.htaccess PHP Code: RewriteEngine on I can access to all frontend page that is the default application. But when I go to /admin i can see the admin default layout but its always the default 404 error controller that is loaded whatever the link I clicked on. This is working on localhost (php 5.5.26) but not on live server (php 5.5.9). This is working on localhost but not on live server. Any help is appreciated Thanks
base_url in each app configured correctly?
Hi,
PHP Code: // in admin I tryed this .htaccess in /admin PHP Code: <IfModule mod_rewrite.c> I get the message "Directory access is forbidden." so that the index.html that is loaded... BUT other pages works when I type the url Any idea ? |
Welcome Guest, Not a member yet? Register Sign In |