Welcome Guest, Not a member yet? Register   Sign In
HTACCESS setEnv doesn't work for all servers
#1

The setEnv CI_ENV development line in the htaccess does not work for centOS servers and it comes as the default (and only) line for setting the environment.

I've searched for ways to replicate this command for non-csh compatible commands and have come up empty (every single one of them throws a 500 server error, manually setting the variable via define throws a CI error)

If CI4 intends to use the .htaccess to set variables, it needs to either be globally correct in how it is done (or more likely) setup different htaccess files for platforms.

If anyone knows how to make a compatible command for centOS in the htaccess, I'd love to know.
Reply


Messages In This Thread
HTACCESS setEnv doesn't work for all servers - by Kaosweaver - 05-25-2017, 09:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB