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

(05-25-2017, 11:01 AM)kilishan Wrote: Just a thought - is your centOS setup running Apache or a compatible server that actually reads the .htaccess file? If it's, for example, nginx, you would have to do it completely differently.

500 is a good error. He/She should check the error log.


https://httpd.apache.org/docs/2.4/mod/mod_env.html

Try on the server a2enmod env
Reply


Messages In This Thread
RE: HTACCESS setEnv doesn't work for all servers - by Paradinight - 05-25-2017, 11:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB