[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: thttpd CGI pattern specified in thttpd.conf fails to match



On Thu Jun 24, 2010 at 00:43:34 -1000, Joel Roth wrote:

> Spending an inordinate amount of time, I find
> no setting for the cgi-pat variable in thttpd.conf
> including the default would allow CGI script to
> execute.

> For reference, the full command line I used is:
>
> thttpd -C /dev/null -u www-data -d /var/www -i /var/run/thttpd.pid -c '**.cgi' -l /var/log/thttpd.log

  OK so here you're not using the configuration file at all "-C
  /dev/nulL" and instead the command line.

> The full thttpd.conf file (minus comments) is:
..
> nochroot
> user=www-data
> cgipat="**.cgi"

  That looks wrong.  On my (working) systems I have:

  cgipat=/cgi-bin/*
  cgipat=**.cgi


  i.e. no "quotes".

Steve
--
Let me steal your soul?
http://stolen-souls.com


Reply to: