From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:12:57 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 835011065673 for ; Fri, 9 Mar 2012 20:12:57 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 12E508FC0A for ; Fri, 9 Mar 2012 20:12:56 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so711811wib.13 for ; Fri, 09 Mar 2012 12:12:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=4NK3taCIrpDO1wzgqjTcVN9vBqW4G+nUG+ciWEH+At4=; b=d6XDonbq88ddCaGs6VaBvkc3daSgLJnY8AuDMaXM9spEoYKlGcYYV+nfDBAJp8x+Cs RDiWagWriV/unDKcU9zg1xct0lZEmhS6HJAPHm1/sdcThzrK/Z43xZcwzSYHep/OI6b4 evd7wNF71pg1kHJB7JT4hLYuV6ZZGwiuZQibRCnhDsYKzYIuRjLCHoSSx4R+BTuyDl70 pJFM5O4Uek/WgOZaOsP7wkBsQ/Qv+vs1JUoRdNkegod03YDjeVkVR15AUqsXFPIowCog cDTH3fi0vikPojcyDn56Tyk2YjlumK2lJvQRDXawBdoXxMl6fyunduZDISPSW0BM4Uua BLFw== MIME-Version: 1.0 Received: by 10.180.99.100 with SMTP id ep4mr7859418wib.7.1331323975822; Fri, 09 Mar 2012 12:12:55 -0800 (PST) Received: by 10.216.171.18 with HTTP; Fri, 9 Mar 2012 12:12:55 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Mar 2012 15:12:55 -0500 Message-ID: From: alexus To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Fri, 09 Mar 2012 20:12:57 -0000 i'd like to follow up with this question if possible On Wed, Mar 7, 2012 at 8:31 PM, alexus wrote: > --- > LoadModule fastcgi_module =C2=A0 =C2=A0 libexec/apache22/mod_fastcgi.so > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0AddHandler php5-fastcgi .php > =C2=A0 =C2=A0 =C2=A0 =C2=A0FastCgiExternalServer /usr/local/www/apache22/= data/php -socket > /var/run/spawn_fcgi.sock > > --- > > this works for my apache for default virtualhost, yet if i use same > thing under a virtualhost it won't work > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0ServerName xxxx > =C2=A0 =C2=A0 =C2=A0 =C2=A0DocumentRoot /home/xxx/xxx/htdocs/ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0AddHandler php5-fa= stcgi .php > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FastCgiExternalSer= ver /home/xxx/xxx/htdocs/php -socket > /var/run/spawn_fcgi.sock > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > > in default virtual host i PHP scripts gets executed no problem, under > second it actually just starts downloading that php script.. > > any ideas? > > -- > http://alexus.org/ --=20 http://alexus.org/