[cgi-devel] CGI library problem
Status: Beta
Brought to you by:
drrngrvy
From: Iwan Z. <iwa...@gm...> - 2011-01-09 04:16:13
|
Hi, Darren just started to use your CGI library Platform: Ubuntu 10.10, 64bit, BOOST 1.42 installed from repository, using latest trunk of the CGI library. Apache 2.2.16, mod_fcgid 2.3.5, GCC v4.4.5. Able to compile and run several examples, including echo, quickstart for both CGI and FCGI, file browser, upload. So far so good. Setup is easy enough, so that user have to compile executable, rename them to either xxx.cgi or xxx.fcgi, drop it into /usr/lib/cgi-bin/, "apache2ctl stop", "apache2ctl start", point browser to 127.0.0.1/cgi-bin/upload.fcgi and it is up and running. "apache2ctl fullstat" shows module, how many times it is called, etc. No config files are needed. So far so good. The problem I have is how to save uploaded file. Ok, I've digged through source(s), found BOOST_CGI_KEEP_FILE_UPLOADS, defined it and recompiled examples. No luck - no file(s) are uploaded to server. I guess I've missed something simple, but would be grateful if you point out how to save uploaded data Thank you Iwan |