You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by si...@wipro.com on 2005/01/24 05:19:08 UTC
[users@httpd] Setting of Environment variables not working with HPUX
Hi,
Silly but i am trying to set Env variable using
table *vars = NULL;
static env_dir_config_rec *pEnv = NULL;
static module *pModule = NULL;
table *tmp = pRequest->subprocess_env;
if(pModule == NULL)
pModule = ap_find_linked_module("mod_env.c");
if(!pModule)
return;
if(pEnv == NULL)
pEnv = (env_dir_config_rec*)ap_get_module_config(pRequest->per_dir_config, pModule);
if (!pEnv)
return;
vars = pEnv->vars;
if(!pszName || !pszValue)
return;
pEnv->vars_present = 1;
if(vars && strlen(pszValue) > 0)
ap_table_set(vars, pszName, pszValue);
The same works file with HTTP requests but doesnt work for HTTPS requests. ANY CLUE !!!!!!
Version Details:
apache version 1.3.27, mod_ssl-2.8.12-1.3.27, openssl-0.9.7
HTTPD.CONF
LoadModule env_module libexec/mod_env.so
.................
...................
and i am using the default apache httpd.conf settings for SSL.
Any help?would do wonders to me.
thanks and regards
shiva
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.