Setting up thttpd to run vqadmin or qmailadmin...keep getting 404s

Posted by Ian on Server Fault See other posts from Server Fault or by Ian
Published on 2010-11-27T21:14:01Z Indexed on 2011/01/17 9:54 UTC
Read the original article Hit count: 301

Filed under:
|

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:

host=127.0.0.1
port=8000
user=apache
logfile=/var/log/thttpd.log
pidfile=/var/run/thttpd.pid
dir=/usr/local/apache/cgi-bin
nochroot
cgipat=**.cgi

When I use lynx to go to http://127.0.0.1:8000/cgi-bin/vqadmin/vqadmin.cgi, thttpd tosses a 404. Any idea how to get this working? Many thanks.

© Server Fault or respective owner

Related posts about cgi

Related posts about thttpd