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

Re: Apache / SUEXEC on woody...



On 16 Oct 2002, Justin Ryan wrote:

> [2002-10-14 01:29:28]: error: command not in docroot
> (/site.com/cgi-bin/index.py)
> 
> The DocumentRoot in this case would be /site.com/www/, and the
> ScriptAlias /site.com/cgi-bin/.

I believe that Debian's provided suexec should be built with docroot as
"/".

Anyways, you can use perl to modify the binary, something like:
 cp suexec suexec.save
 perl -pe 's/\/var\/www/\/\0\0\0\0\0\0\0/' suexec.save > suexec
 chmod 4555 suexec


  Jeremy C. Reed
...................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net/



Reply to: