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.

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 superuser.com Apr 25 '10 at 6:33

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

2 Answers 2

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 lighthpd.net

share|improve this answer

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

share|improve this answer

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.