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

By default Apache 2.2 resolves dependencies, i.e. searches additional dlls for loaded modules, using its root directory - bin.

Now I need to copy everything to root, and that litters it a lot. So I want to extend this algorithm adding an additional directory (subdirectory in root). For example, bin/svn for Subversion's dependencies.

How can can I do that?

share|improve this question

Which operating system are you running on? It should be searching the system path on Windows (the PATH environment variable), or the library path on Linux (LD_LIBRARY_PATH environment variable) - this doesn't sound like normal behaviour

share|improve this answer
I'm using Windows 2008 SP2 non-R2. Of course it's looking all default paths, but I'm searching a way how to extend such paths – abatishchev Dec 17 '09 at 20:24
Then you could just adjust your environment variable - you can do this for the service from the services control panel IIRC - that's much easier than adjusting the way Apache is meant to work. There is also a LoadFile directive which will link a file that you could experiment with, but the environment is the proper way to do it – David Fraser Dec 18 '09 at 11:25
Thanks, David. I'll try to change %PATH%, I think it could help – abatishchev Dec 18 '09 at 11:57

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.