From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 00:24:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42653106566B for ; Sat, 10 Mar 2012 00:24:49 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C3AC58FC13 for ; Sat, 10 Mar 2012 00:24:48 +0000 (UTC) Received: by eaaf13 with SMTP id f13so609420eaa.13 for ; Fri, 09 Mar 2012 16:24:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=tHejjIsLwoeAxk7ElPsbvTeWGjzOQRnFtRWx8MElvh4=; b=AY4H18GmvzsqIyg5lYHdJb9LpjlB4bD9EbFD8hzYBCFO6JTRJ54mbKZDCT0+MYtB4B DbM2cZgG69Jsd32gO02j+EOrv03SGhs4y19pcr2snlsUfTTjFbGAPRjOAEg1q3OY6DH+ yhqMus0Vh6iLPlnUXr16PDv6/J7OwL9pof/PtyNtOIa6V4s042hLhI69el+dNXwF4EYC ONziQYUFc1kjbQcYdxVmzTna6tl2hJiNPD6SpXWtRRkayN/1RruXUyHOP0Ac7v3vSwSl dyTbg0IAW35MBb5ddWmMfDLdXxcVL7A5wv5shZyLv/El93bbh7PdovSPQRH3LvPeCS1K NV1A== Received: by 10.14.98.197 with SMTP id v45mr758867eef.55.1331339082248; Fri, 09 Mar 2012 16:24:42 -0800 (PST) Received: from ?IPv6:2a01:e35:8aac:83c0:540:3037:6733:4175? ([2a01:e35:8aac:83c0:540:3037:6733:4175]) by mx.google.com with ESMTPS id p57sm7992416eei.8.2012.03.09.16.24.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Mar 2012 16:24:41 -0800 (PST) References: In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <6C1B4420-3535-40A1-83CE-15CEBEF60A66@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Date: Sat, 10 Mar 2012 01:24:37 +0100 To: alexus X-Gm-Message-State: ALoCoQlaSH9Ex77cFFFHr3MEuUEWdo0eca+OA//vAq4jNAh6wGWeu87haBI2zA8RxyGDgWTToiY3 Cc: "freebsd-questions@freebsd.org" Subject: Re: apache22 + mod_fastcgi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2012 00:24:49 -0000 I think you're naming your module incorrectly. First, try just setting the handler in your vhost w/o the ifmodule stuff. If that works, you know where you've gone wrong. On 9 Mar 2012, at 21:12, alexus wrote: > i'd like to follow up with this question if possible >=20 > On Wed, Mar 7, 2012 at 8:31 PM, alexus wrote: >> --- >> LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so >>=20 >> >> AddHandler php5-fastcgi .php >> FastCgiExternalServer /usr/local/www/apache22/data/php -socket >> /var/run/spawn_fcgi.sock >> >> --- >>=20 >> this works for my apache for default virtualhost, yet if i use same >> thing under a virtualhost it won't work >>=20 >> >> ServerName xxxx >> DocumentRoot /home/xxx/xxx/htdocs/ >> >> AddHandler php5-fastcgi .php >> FastCgiExternalServer /home/xxx/xxx/htdocs/php -socket >> /var/run/spawn_fcgi.sock >> >> >>=20 >> in default virtual host i PHP scripts gets executed no problem, under >> second it actually just starts downloading that php script.. >>=20 >> any ideas? >>=20 >> -- >> http://alexus.org/ >=20 >=20 >=20 > --=20 > http://alexus.org/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g"