On Mar 8, 2014, at 12:46 PM, Eric Covener <[email protected]> wrote:

> On Sat, Mar 8, 2014 at 2:27 PM, Allasso Travesser
> <[email protected]> wrote:
>> 
>> On Mar 8, 2014, at 10:15 AM, Eric Covener <[email protected]> wrote:
>> 
>>> On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser
>>> <[email protected]> wrote:
>>>> But it doesn't matter which user, if run from command line, behavior is 
>>>> one way, (correct way), if run from http request, behavior is incorrect.
>>> 
>>> Compare environment variables between the two environments?
>> 
>> Yes, that is the problem, I can fix it by putting export LANG="en_US.UTF-8"; 
>> before I run apertium each time, but I am trying to find a more permanent 
>> solution.  I have been trying different methods of setting the variable in 
>> www-data's profile, but haven't been successful.
>> 
> 
> A simple SetEnv in httpd.conf should work, and not pollute the servers
> environment until the CGI is launched (it's not a "real" environment
> variable until then)

yes, that works perfectly, thank you.

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to