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

I run nginx for my web server but wanted to quickly toss up thttpd so I could do some maintainenace using either vqadmin or qmailadmin.

Those files are located at: /usr/local/apache/cgi-bin/qmailadmin and /usr/local/apache/cgi-bin/vqadmin/vqadmin.cgi.

My /etc/thttpd.conf is:


When I use lynx to go to, thttpd tosses a 404. Any idea how to get this working? Many thanks.

share|improve this question
up vote 0 down vote accepted

Since you are getting a 404 error, does not the logfile have any information on why thttpd cannot locate the cgi script?

share|improve this answer
the thttpd log just indicates the 404 and no additional info is in /var/log/messages – Ian Nov 28 '10 at 18:57
I think your directory directive should be dir=/usr/local/apache and not /usr/local/apache/cgi-bin – adamo Nov 28 '10 at 20:55

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.