Re: Rob: CGI Question

new topic     » goto parent     » topic index » view thread      » older message » newer message

> If you turn on trace(3), exu will try to create a
> "ctrace.out" file in the current directory.
> ex.err is only produced when there's an error.

Well, I can run the file fine (no errors) from the command line, so I know
there's no errors. I only get the attempted write to ex.err when trying it
via the browser (running it as an Apache CGI).

> File permissions on Linux/FreeBSD can be tricky.
> The process that runs your Euphoria CGI program
> probably runs as a different user id than you.

Yes, it's www:www.

> On RapidEuphoria.com (FreeBSD) CGI programs run
> under user "nobody" with the group set to one that
> both "nobody" and my user id belong to. I don't know
> what permissions files in /usr/local/www might have, but to
> write a new file in a directory, the CGI program will
> need write permission on the directory itself.

That's a '7' isn't it, as in chmod 775?

> I store a copy of exu plus the .e files from euphoria/include
> in cgi-bin, because "nobody" doesn't know about "EUDIR",
> nor does it have euphoria/bin on its path.

That's what I was doing when running this stuff at my host. I'll try it with
my box at home as well... I just thought there was a way to keep my system
"clean" and not have to do that.

Thanks, Rob.

-ck

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu