On 03/26/15 19:55, Carlin Bingham wrote:
> On Fri, 27 Mar 2015, at 05:41 AM, Alexei Malinin wrote:
>> On 03/26/15 18:33, Carlin Bingham wrote:
>>> On Fri, 27 Mar 2015, at 01:50 AM, Alexei Malinin wrote:
>>>> Hello.
>>>>
>>>> I'm trying to get working cgi programs with OpenBSD-5.6 stable httpd on
>>>> default /var/www but without success:
>>>>
>>>> [...]
>>>>
>>>>
>>>> Please tell me what I'm doing wrong?
>>>>
>>>> [...]
>>>>
>>>> ./cgi-bin:
>>>> total 1
>>>> drwxr-xr-x  2 root  daemon     512 Aug  8  2014 .
>>>> drwxr-xr-x  9 root  daemon     512 Mar 23 14:08 ..
>>>> ----------  1 root  bin     144592 Aug  8  2014 bgplg
>>>    ^^^^^^^^
>>>
>>> Check the man page for bgplg(8); you need to set the permissions to make
>>> it executable.
>> I set the permissions to 0555 - result was the same as before.
> Have you started slowcgi(8)?

Thank you! Starting slowcgi resolved the problem.


PS. Patches for httpd(8) & httpd.conf(5):

--- httpd.conf.5.orig   Wed Jan 28 21:17:23 2015
+++ httpd.conf.5        Thu Mar 26 20:09:03 2015
@@ -397,7 +397,8 @@
 include "/etc/nginx/mime.types"
 .Ed
 .Sh SEE ALSO
-.Xr httpd 8
+.Xr httpd 8 ,
+.Xr slowcgi 8
 .Sh AUTHORS
 .An -nosplit
 The
--- httpd.8.orig        Wed Jan 28 21:17:23 2015
+++ httpd.8     Thu Mar 26 20:08:52 2015
@@ -81,7 +81,8 @@
 Default error log file.
 .El
 .Sh SEE ALSO
-.Xr httpd.conf 5
+.Xr httpd.conf 5 ,
+.Xr slowcgi 8
 .Sh HISTORY
 The
 .Nm


--
Alexei

Reply via email to