Server Fault is a question and answer site for system and network administrators. 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

I'm running a web site under a shared hosting environment (it's Dreamhost, if it makes a difference) and attempting to use SetEnv from within a .htaccess file.

Everything else in the .htaccess file is working fine and Apache is not generating errors.

Since SetEnv requires Override FileInfo (ref), I figure that's my problem. I have a Perl script dumping out %ENV to test my config changes, but nothing I've tried works.

How can I test that AllowOverride FileInfo is enabled?

share|improve this question
up vote 0 down vote accepted

While looking for references while writing the question, I found the answer. I figured I'd document my answer here in case anyone else has the same problem.

The SetEnv was working but the Perl script I was testing with runs under Suexec. According to this support document, Suexec strips off all environment variables that do not begin with HTTP_.

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.