> That's really weird. > Why is apache-getenv only in Apache 2 and apache-setenv in 1 and 2?
I don't know. I tested it under Apache 2 and get this: apache_setenv("X", "a") affects getenv("X") but putenv("X=a") doesn't affect apache_getenv("X") Purpose of this is maybe the same as why apache_getenv isn't in Apache 1 :-). Jakub Vrána