Welcome Guest, Not a member yet? Register   Sign In
Rewrite url in CI
#1

Hello friends

Currently I'm doing the rewrite url of codeigniter. Now need to show as .jpg to be cloudflare to cache images after editing to help the server heavy.


$ route ['seccimg.jpg'] = "home/convertimg";

-> this command it fails to run.

The reason is that it reads a .jpg file as an error file before going into the index.php in CI

But I don't know how to fix it. I'm using nginx centos 7


Thank you. sorry for my bad English
Reply


Messages In This Thread
Rewrite url in CI - by remake2020 - 07-25-2020, 08:15 PM
RE: Rewrite url in CI - by jreklund - 07-26-2020, 01:12 AM
RE: Rewrite url in CI - by remake2020 - 07-26-2020, 05:21 AM
RE: Rewrite url in CI - by jreklund - 07-26-2020, 07:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB