Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Maybe this belongs to Serverfault or, but here we go anyway:

In Oneiric, there is an export command in this script /etc/apache2/envvars , setting LANG. This gets ignored on my server. Any idea why?

I had two more commands in Script /etc/apache2/envvars

export SYBASE=/opt/sybase  
export SYBASE_OCS=OCS-15_0

but they get ignored as well as the output from the printenv.cgi script shows.

Is this a bug or a security feature in Oneiric?

Note that the answer from Sep 27 2011 at 17:29 to this question explicitly says that admins should add export commands to /etc/apache2/envvars .

I found this: A quote from the Oneiric changelog regarding Package sbox-dtc

- Removed the use of Apache envvars which aren't safe (easy to hack).
share|improve this question

Try using PassEnv SYBASE SYBASE_OCS in your apache config file.

Also you may have to stop/start apache (restart was not working for me)

See my answer on serverfault

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.