Re: Is anyone else doing CGI on Mac OS X 10.5.7, Euphoria 4.x?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Tuishimi said...

Installed the latest EUBINs. Still no change. I wrote a Perl script alongside it, that does the same thing (as far as the initial controller loading the ini file and extracting URL parameters) and it works. So the data is there from Apache. Not sure why Euphoria is not getting it back.

Euphoria DOES seem to be able to extract environment variables from the command line (in Terminal). Just not running as CGI.

Based on http://www.digitaledgesw.com/node/31 and a few other web pages that I foudn with google...

It is likely that apache runs as a different user than the user you run the shell on. So stuff in any .plist file or in .profile/.bash_profile/etc will not show up. (Only env vars set in /etc/launchd.conf are truly global.)

Even so, I'd expect apache's own CGI env vars to show up without issue.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu