search for: ch03_07

Displaying 2 results from an estimated 2 matches for "ch03_07".

2017 Jun 09
6
Logging the click data
> The log command will be executed wherever it is in the template. > By "current system user", what do you mean? There'll need to be > write permission for the CGI process, which is probably the same > identity as the web server process. I basically changed the ownership of the /var/log/omega directory to the current user using: sudo chown `whoami` /var/log/omega But I
2017 Jun 18
2
Logging the click data
...eed a > new command, just something like: > > $httpheader{Status,302 Found} > $httpheader{Location,$cgi{URL}} Ok, got it. I was initially under the impression that we needed a new Omegascript command to enable opening a webpage given a url. > See http://www.oreilly.com/openbook/cgi/ch03_07.html and the > parse_omegascript() function (in query.cc). Thanks, I found that link very helpful. Great book on CGI programming. > You can run omega.cgi from the command line without installing it and > going via a web server. This is what the omegatests do, for instance. Yeah, I was t...