5

cgi environment variables

view full story
linux-howto

http://www.linuxquestions.org – I think Apache must not be configured right but I can't find any information here or on google. While using the GET submission method apache fails to set that request's environment variables. Here is a sample cgi script in c. Code: #define _USE_HTML #include <cgi.h> int main(int argc,char **argv) {         cgi_init();         char *result;         result=getenv("REQUEST_URI");         if(result)     & (HowTos)