Passing Parameters from Apache to Eu Interpreter
- Posted by euphoric (admin) Mar 19, 2019
- 1058 views
I'm trying to tell my Euphoria-MVC script to use "with warning" when I run from console/debug/IDE, but "without warning" when Apache runs it. I've set it up like this in my script:
#!C:\euphoria41-64bit\bin\eui.exe -batch ifdef NOWARN then without warning else with warning end ifdef
Basically, I want to keep output to error.log and access.log to a minimum, and let the errors go to ex.err.
Is there a way to tell Apache to use a command line parameter ("-NOWARN") when calling my script? I Googled for an answer but found nothing addressing this.
Is this a reasonable approach, or am I fouling something up?