From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 17:31:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08F45B2 for ; Mon, 1 Sep 2014 17:31:55 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DD9D187A for ; Mon, 1 Sep 2014 17:31:54 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id s18so6361264lam.20 for ; Mon, 01 Sep 2014 10:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bbcatgirls.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cddssjVlvXEnuvaV14LdDerlBKiZd0EWhR+Rd1oo51g=; b=CN8oHGntFJXb2D670mJACy/0Y7UimzI7G3lmKpi/daeIGVj0KSaIxW8h1uJNH9rPWW Gp22ebO2L1uTUqpla/HwRTy8L86C5dmVgxvP5NUu7IpVKJv1mhSpctOrKwl8153jZufu rEVRfsCqrwXblTiDNUByVV2Y14IDOiYG8C2t8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cddssjVlvXEnuvaV14LdDerlBKiZd0EWhR+Rd1oo51g=; b=YVTxv1odZIM0Gi4b4xAw76Zm31hPT3qo+J8yDfnPDGQx4IrYgkNLDDEw6NNKWFwTM4 zYBhlsM2fZTinvSUBMNNocSdHkunzRjOypu/OY1iJXmPMiTUhs3zQrnwg7bpb7evyoL2 M+Iv+KQG05v5qkExuBCHY69icaBydrSXNA7pRCQ0UUZhSZsTX4Rn157n2DrhmPdOvcAq m6zMsqVDBjfDBYRPwJaUy+5CxaihGaFzOnKwRWKiyK3fDpsyQ1YNTBZ+0o0RG0xTkRLH RSH7yTdV2TxtxBwwTNJMHuHL6yK7cRi5I7CUzvDKqj2A/mZy/VaRvxn5+/Uk3PIDeEGm aWyQ== X-Gm-Message-State: ALoCoQkFK/DzW2szQqA1Q1eITdPTwQWDLEWNJ54zwOgCyHF22i507tSR2muE95Owul17npF/NaVq MIME-Version: 1.0 X-Received: by 10.152.246.37 with SMTP id xt5mr10201765lac.71.1409592712287; Mon, 01 Sep 2014 10:31:52 -0700 (PDT) Received: by 10.114.216.133 with HTTP; Mon, 1 Sep 2014 10:31:52 -0700 (PDT) X-Originating-IP: [75.120.147.91] Received: by 10.114.216.133 with HTTP; Mon, 1 Sep 2014 10:31:52 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Sep 2014 12:31:52 -0500 Message-ID: Subject: Re: CGI scripts not working From: Robert Teel To: Monah Baki Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 17:31:55 -0000 > > Here is what I have in my httpd.conf > > ScriptAlias /cgi-bin/ "/usr/home/ipaudit/public_html/cgi-bin/" > > > AllowOverride None > # Options None > Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch > Order allow,deny > Allow from all > Require all granted > > > AddHandler cgi-script .cgi > > ls -la /home/ip[audit/public_html/cgi-bin > drwxr-xr-x 2 root wheel 512 Sep 1 07:55 cgi-bin Check your ScriptAlias and Directory block. Most of the paths show using /home but those directives are using /usr/home. Assuming /home is a separate partition remove /usr from them and it should work correctly. If /home is a symlink to /usr/home change the ones using just /home to /usr/home to fix it.