Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to setup light tpd to serve cgi files from the public_html directory under home/pi/ I have the following line in my lighttpd.conf file which enables cgi to be served from a cgi folder under anyother folder.

$HTTP["url"] =~ "^(/~[^/]+)?/cgi-bin/" { cgi.assign = ("" => "") }

However I would like cgi to be served from directly within the puboic_html folder

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.