Write env vars to apache envvars