[erlang-questions] erlang module in apache cgi script not working
Sat Jun 7 22:04:32 CEST 2008
On Sun, Jun 1, 2008 at 11:47 AM, Jayakrishnan M <> wrote:
> I am using Apache httpd 2 and have a shell script as a cgi script. I
> am trying to call an
> erlang module from the shell script for some processing.
> The problem is that the erlang code is not getting executed.
> The lines in the shell script which are above and below the call to
> erlang binary are working.
> I have been trying to figure out the problem for a long time, but
> without any success.
Without knowing more details, one possibility is that your shell
scripts runtime does not have the required HOME environment variable
set. If you haven't already set HOME, you could try manually setting
it in your shell (CGI) script.
More information about the erlang-questions