On Fri, August 9, 2013 15:41, Stefan Sperling wrote:
> On Fri, Aug 09, 2013 at 01:38:13PM +0200, Stefan Sperling wrote:
>> These instructions don't work for me with httpd(8) from base.
>> The /var/www/ chroot gets in the way of the CGI script.
>> It seems that quite a bunch of things would need to be copied
>> into the chroot for this to work.
>>
>> Also, it seems the option syntax is: Options +ExecCGI
>> for the version of httpd in base.
>
> To clarify, this is the config snippet I ended up with:
>
> <Directory /var/www/htdocs/svnweb>
>   Options +ExecCGI
>   AddHandler cgi-script cgi
> </Directory>

Correct. My second fault that I have enabled handler earlier in httpd.conf.
Should test it on a fresh installation.

>
> Then the URL http://localhost/svnweb/index.cgi works, but only if httpd
> is started with the -u option to disable chroot.
>


Reply via email to