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

Sorry all, the notifications stopped coming or I would have responded...

The server is running Apache and centOS (with a CPanel and all) it does read the htaccess and dies when the SetENv line is enabled.

The log message was pretty clear - SetEnv isn't supported:
[Thu May 25 15:46:00.548750 2017] [core:alert] ******mypath******/public/.htaccess: Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration

I'll pull the latest and try that out and let you know.

And I'll also check the mod_env to see if that set to work.

Sorry I'd not known about the responses and I appreciate the help.

Messages In This Thread
RE: HTACCESS setEnv doesn't work for all servers - by Kaosweaver - 05-29-2017, 06:51 AM

Theme © iAndrew 2016 - Forum software by © MyBB