From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 01:31:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A721D1065670 for ; Thu, 8 Mar 2012 01:31:28 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 42DBC8FC1D for ; Thu, 8 Mar 2012 01:31:27 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so4969067wib.13 for ; Wed, 07 Mar 2012 17:31:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ipfdxLKmw1aruSp5/zQZTotmOvv8WHJcZFQ9k0NPKEg=; b=SnIW+x52BjPHt7SB8pljA5x2HLdo0WYuwtpFLbLriTYBmcVgKGxPiCBIfbMdHsyJB0 jZmnZLWPIWmnoaCKDVKH7OywdpdVbOGCqcVtkATuehVPHNNmYDMfPxwqRT8bMG9Hjtpq 4mLgXIPmV7iVJkBDDeGiCarsIrmE094wammYIFGhqNk5u4hDmLnCsovAjA1DKOCS8R5l WF+j+XZ9whWGPWptRlGy4XxPgQtlRUuA3P2YRNATmaHgGCUg5R/t/TPnMX+x7DgfriaG EGIZOOPKJ6qhsS4a4jjJkvuJT/Ooq9Fi2ingYyMRqTdHZeC5JcWMi2RD+U+4LKMiQuWM BT3g== MIME-Version: 1.0 Received: by 10.180.24.66 with SMTP id s2mr8146469wif.7.1331170287210; Wed, 07 Mar 2012 17:31:27 -0800 (PST) Received: by 10.216.171.18 with HTTP; Wed, 7 Mar 2012 17:31:27 -0800 (PST) Date: Wed, 7 Mar 2012 20:31:27 -0500 Message-ID: From: alexus To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: 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: Thu, 08 Mar 2012 01:31:28 -0000 --- LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so AddHandler php5-fastcgi .php FastCgiExternalServer /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 ServerName xxxx DocumentRoot /home/xxx/xxx/htdocs/ AddHandler php5-fastcgi .php FastCgiExternalServer /home/xxx/xxx/htdocs/php -socket /var/run/spawn_fcgi.sock 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/