Re: [OpenCA-Devel] Problem with custom command

2005-06-07 Thread Martin Bartosch
Hi Michael, > I think you use a 0.9.2.x. If you use this then please look into > src/common/lib/functions/initServer. There you must add it to the > commands which have a different MIME type from text/html. You can search > for sendContentType in this file to find the position. great, thanks! Ma

Re: [OpenCA-Devel] Problem with custom command

2005-06-07 Thread Michael Bell
Martin Bartosch wrote: I basically copied the behaviour from lib/cmds/send_cert*, where simply the MIME type is printed and the binary data is sent afterwards. The idea is to generate a tar.gz on-the-fly and send it to the browser as application/octet-stream or similar. Unfortunately for some r

[OpenCA-Devel] Problem with custom command

2005-06-07 Thread Martin Bartosch
Hi, as I do not have direct access to some of our PKI machines, I tried to add a simple "Log file download" option that helps me identify problems that arise in production. It's a quick hack, but it would save me some time in the future. I basically copied the behaviour from lib/cmds/send_cert*,