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

What is the option in lighttpd.conf to set the default path for lighttpd to look for modules? My lighttpd would not start because it keeps looking for critical modules at the default path, and I had the server installed at another location. Thanks!

share|improve this question

migrated from Apr 25 '10 at 6:33

This question came from our site for computer enthusiasts and power users.

up vote 1 down vote accepted

I don't think this is done with a .conf setting, rather it's set when you compile lighttpd. Depending on how you compiled it (say using configure, you might need to set --prefix to Specify your installation directory if you want to install Lighttpd at a location different from default /usr/local/. Other path setting command-line switches for configure: --bindir, --sbindir, --datadir, --libdir, & --sysconfdir.

Using CMAKE, you'd pass an option like -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/

Nixcraft has a nice install how to and there's always

share|improve this answer

You can use lighttpd's -m command line argument to specify the modules directory.

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.