Hi,
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:12:53 2003
+++ util_script.c       Mon Mar 10 16:12:24 2003
@@ -292,6 +292,7 @@
     ap_table_addn(e, "REMOTE_ADDR", c->remote_ip);
     ap_table_addn(e, "DOCUMENT_ROOT", ap_document_root(r));    /* Apache */
     ap_table_addn(e, "SERVER_ADMIN", s->server_admin); /* Apache */
+    ap_table_addn(e, "SERVER_ROOT", ap_server_root);   /* Apache */
     ap_table_addn(e, "SCRIPT_FILENAME", r->filename);  /* Apache */
 
     ap_table_addn(e, "REMOTE_PORT",

Attachment: util_script.c.diff-1.3
Description: Binary data

Reply via email to