Hi Sergey! And thanks for the fast reply and the usefull web server! When I type export MONGOOSE_CGI=PERL5LIB=/home/knoppix/github/peb/perl/lib before starting Mongoose, my CGI scripts get environment variable 'MONGOOSE_CGI' with a value 'PERL5LIB=/home/knoppix/github/peb/perl/lib', but I want that every CGI script will get environment variable ''PERL5LIB' with a value '/home/knoppix/github/peb/perl/lib', so that Perl modules not on PATH will be loaded without any modifications in the scripts. I can easily read a custom environment variable from a Perl script, take folder name from that variable and load modules from that folder, but that means to modify every script with a non-core module and I want to avoid that. After all, if I'm going to modify all scripts, I can take advantage of 'use lib' command and load modules from whatever location, so the custom environment variable will not help me much.
I think the old approach from http://mongoose.googlecode.com/svn/wiki/MongooseManual.wiki is of more use for me: ' -cgi_env list Pass environment variables to the CGI script in addition to stan- dard ones. The list must be comma-separated list of X=Y pairs, like this: "VARIABLE1=VALUE1,VARIABLE2=VALUE2". Default: not set.' because I can set not only a value of a custom environment variable, but names and values of environment variables (more than one, if necessary, which I think is also usefull). So my renewed question is can I reintroduce the old code, which 'injects' custom names & values of environment variables in the CGI environment? Is it still compatible with the current code base? With best wishes, Dimitar -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
