Passing Parameters from Apache to Eu Interpreter

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

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?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu