Make CodeIgniter work behind apache with nginx as intermediary |
08-02-2017, 05:23 PM
(This post was last modified: 08-02-2017, 05:28 PM by natanfelles. Edit Reason: ;) )
If you can see the CodeIgniter 404 it looks that you need configure your Base URL.
PHP Code: $config['base_url'] = $_SERVER['HTTP_HOST'] == '10.20.30.40' ? 'http://10.20.30.40/ci/' : 'http://www.subdomain.company.xxx/ci/'; |
Messages In This Thread |
Make CodeIgniter work behind apache with nginx as intermediary - by kabeza - 08-02-2017, 09:20 AM
RE: Make CodeIgniter work behind apache with nginx as intermediary - by natanfelles - 08-02-2017, 05:23 PM
RE: Make CodeIgniter work behind apache with nginx as intermediary - by kabeza - 08-03-2017, 04:55 AM
RE: Make CodeIgniter work behind apache with nginx as intermediary - by kabeza - 08-03-2017, 07:13 AM
|