Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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
1  
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

 
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.