Welcome Guest, Not a member yet? Register   Sign In
Make CodeIgniter work behind apache with nginx as intermediary
#1

Hi
I've installed latest Apache, PHP7 and codeigniter in a Ubuntu 17.04 server, which has a static IP (eg: 10.20.30.40)
I'm on a big corporative LAN and now this codeigniter app needs to be accessed from outside (internet)

Tere's an intermediary nginx server (which I cannot access) that redirects everything from outside (internet) to my server
So:
http://www.subdomain.company.xxx/ci/index.php/test
should load exactly the same as
http://10.20.30.40/ci/index.php/test

But only the local url works fine
When I call from outside (or using anon proxy from internet) I get the codeigniter 404 page (not even the custom 404 apache errorpage I've set)

There's no .htaccess nor config change made. It is just a base codeigniter install for testing this

Any ideas?

Thanks a lot in advance,
Reply


Messages In This Thread
Make CodeIgniter work behind apache with nginx as intermediary - by kabeza - 08-02-2017, 09:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB