Make CodeIgniter work behind apache with nginx as intermediary |
Finally solved by setting uri_protocol = PATH_INFO
application/config/config.php PHP Code: $config['base_url'] = $_SERVER['HTTP_HOST'] == '10.20.30.40' ? 'http://10.20.30.40/ci/' : 'http://www.subdomain.company.xxx/ci/'; and .htaccess like Code: RewriteEngine On Now it is working perfect locally and loaded from Internet
Enrique
https://beza.com.ar |
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
|