[RESEND-2]
any concerns about this? At least a 'not acceptable for whatever reason' would be nice!
would be nice to have the SERVER_ROOT automatically available for scripts without
having to set it first with SetEnv...
Guenter.
--- util_script.c.orig Tue Feb 04 00:15:18 2003
+++ util_script.c Mon Mar 10 17:42:36 2003
@@ -278,6 +278,7 @@
apr_table_addn(e, "REMOTE_ADDR", c->remote_ip);
apr_table_addn(e, "DOCUMENT_ROOT", ap_document_root(r)); /* Apache */
apr_table_addn(e, "SERVER_ADMIN", s->server_admin); /* Apache */
+ apr_table_addn(e, "SERVER_ROOT", ap_server_root); /* Apache */
apr_table_addn(e, "SCRIPT_FILENAME", r->filename); /* Apache */
apr_sockaddr_port_get(&rport, c->remote_addr);