httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <siba.d...@wipro.com>
Subject [users@httpd] Setting of Environment variables not working with HPUX
Date Mon, 24 Jan 2005 04:19:08 GMT

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.
Mime
View raw message