From owner-freebsd-isp Thu Oct 16 19:33:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA11686 for isp-outgoing; Thu, 16 Oct 1997 19:33:34 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from neptune.sma.regina.sk.ca (root@hsregn35.sk.sympatico.ca [142.165.80.35]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA11519 for ; Thu, 16 Oct 1997 19:31:14 -0700 (PDT) (envelope-from root@sma.regina.sk.ca) Received: from localhost (root@localhost) by neptune.sma.regina.sk.ca (8.8.5/8.8.5) with SMTP id UAA01026; Thu, 16 Oct 1997 20:18:41 -0600 Date: Thu, 16 Oct 1997 20:18:40 -0600 (CST) From: "Salah.Abouzgaia" X-Sender: root@neptune To: freebsd-isp@freebsd.org cc: "Salahddin.Abouzgaia" Subject: Apache_1.2.4 (CGI Execution) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi all, Two problems: Problem 1: in spite that I set the ScriptAliase to point to /usr/local/etc/htdoc/cgi-bin, Apache always think that cgi-bin is in /usr/local/etc/htdoc/htdocs and as a result cgi files are not found. I double check all the config files, and there is nowhere that points cgi-bin dir to /usr/local/etc/httpd/htdocs. Problem 2: even if make cgi-bin in /usr/local/etc/httpd/htdoc and change settings in all the config files to point to this dir, apache does not execute cgi scripts (perl or sh scripts), instead the browser reads the Perl os sh scripts as text files, and prints Perl or sh scripts as is on the browser. ScriptAliases is set correctly Options ExecCGI is set in the access.conf Any hints Cheers