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!

link|improve this question

75% accept rate
feedback

migrated from superuser.com Apr 25 '10 at 6:33

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

2 Answers

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

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.