From: Matt B. <ma...@in...> - 2008-09-02 14:53:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kacper Wysocki wrote: > Trouble is, qmailadmin is not a typical CGI program in that it > generates URLs of the form > > http://domain.com/cgi-bin/qmailadmin/com/showusers?user=postmaster&dom=domain.com&time=1220315583 Actually, this is quite typical of a CGI. > - note the /com/ part which I don't know how to map up to a query > string qmailadmin understands, though I'm guessing apache does some > magic to get this right. > normal cgi servers think /com/showusers is a file in a subfolder of qmailadmin/ qmailadmin is using path environment variables provided by the web server to resolve the request. This is totally normal. > What is qmailadmin doing with the query string? > How do I get some basic debug messages or logging going to see what > qmailadmin is doing? I would suggest you learn a bit about how the CGI interface works before attempting to debug a CGI. There should be plenty of resources available online. - -- /* Matt Brookings <ma...@in...> GnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIvVNO6QgvSNlBT3ARAprWAKCOpUhSdVNvVU34UGVc27ZNDa3ZEACfQNT9 vtUSnlVzG46jZxH+BmMMN3w= =MpfR -----END PGP SIGNATURE----- |