On Wed, 5 Nov 2003, mattg wrote:

> Wed Nov  5 17:35:45 2003 [19289] execve: No such file or directory
> Wed Nov  5 17:35:45 2003 [19246] pipe_run: premature end of script headers
>
> i've been working on tuning my mathopd install for a few days now.  php
> scripts seem to run well with thomas' CPU hack, however i'm having
> trouble with the AutoIndexCommand function.  it returns a "500" error,
> and above is the entry in the error log.
>
> is this an existing problem?  i've tried using my own php script and the
>   c script on the mathopd webpage to try to get directory listings,
> however i'm not able to get it working.  any ideas?

Hi.
At the moment the AutoIndexCommand has to be a CGI *program*, that is, it
cannot be a PHP script or anything else. I will try to correct this in a
future version. This might take a while though since I am sort-of on
vacation.

The compiled C program should work as advertised though. (If you run
chrooted, don't forget to statically link it.)

Cheers
Michiel

Reply via email to