Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Maybe this belongs to Serverfault or launchpad.net, 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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.