Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 8388 invoked from network); 14 Nov 2009 20:40:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Nov 2009 20:40:42 -0000 Received: (qmail 63311 invoked by uid 500); 14 Nov 2009 20:40:41 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63209 invoked by uid 500); 14 Nov 2009 20:40:41 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 63200 invoked by uid 99); 14 Nov 2009 20:40:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 20:40:41 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of falcacibar@gmail.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-vw0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 20:40:36 +0000 Received: by vws10 with SMTP id 10so1217677vws.10 for ; Sat, 14 Nov 2009 12:40:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QtTHIxMpKhnZyhH6cbaZvx2U2rtae9DmRB5Ip5XLvBo=; b=NJigVqggf1/DqSRgp0iYwIRw3cI1DWq3nac2qEWKeU+WvhWQ1mF/IsWD0y2TKHJIwA 7Q6cEPINsgRYI/OfOBoRKlqVS1Ie6jEL5g8VcbKOb97KxTC9P9x7/hrmN68swYqJOcot mwZulDG8bxXRJcw9dz7uBZrid/A6jJ8U3Yqys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wzZavDJJ4uaiPvVK98Xb3Rc2OOtiCejJQUzGY8n3WJ8vat3Ex9eyYCnRqDvp5MYLle OhlDCJu+GeyIyDacH7OIao6Y1zOWlYLLKcyKG6RTjeB8kIWRq8h4eUpWChScvCZgynpc M48XTkkNGH6U4grFyBDgULK3P2tRF4bodvQxg= MIME-Version: 1.0 Received: by 10.220.122.229 with SMTP id m37mr1251854vcr.15.1258231214203; Sat, 14 Nov 2009 12:40:14 -0800 (PST) In-Reply-To: <72e3fc8f0911141156k510bf67dra70398d7041da3e1@mail.gmail.com> References: <72e3fc8f0911121525g6917cac5u7287718047a0dd4f@mail.gmail.com> <72e3fc8f0911131631p16d4f120v80e122052278ff37@mail.gmail.com> <72e3fc8f0911141156k510bf67dra70398d7041da3e1@mail.gmail.com> Date: Sat, 14 Nov 2009 17:40:14 -0300 Message-ID: <72e3fc8f0911141240l64b81f68r9bbdf6598daefba5@mail.gmail.com> Subject: Re: mod_rewrite and mod_fcgid pass wrong fcgi request From: Felipe Alcacibar To: dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Jeff for the response. > > I don't know what your rewrite config is, but rewrite isn't required > to use path info. =A0Can you post a minimal config that illustrates the > problem? > my current configuration of the mod_rewrite and mod_fcgid rohan counter # cat /hosting/http/fullplanet.cl/dom/servicio/www/.htaccess RewriteEngine on RewriteCond $1 !^($|index\.php|stock|images|subidas|galerias|css|js|robots\= .txt) RewriteRule ^(.*)$ /index.php/$1 [L] rohan counter # cat /hosting/http/fullplanet.cl/dom/servicio/www/.htaccess RewriteEngine on RewriteCond $1 !^($|index\.php|stock|images|subidas|galerias|css|js|robots\= .txt) RewriteRule ^(.*)$ /index.php/$1 [L] -- rohan counter # cat /etc/apache2/modules.d/20_mod_fcgid.conf LoadModule fcgid_module modules/mod_fcgid.so FcgidIPCDir /var/run/fcgidsock FcgidProcessTableFile /var/run/fcgid_shm FcgidMaxRequestsPerProcess 8 FcgidMaxProcesses 10240 FcgidMaxProcessesPerClass 1024 FcgidMinProcessesPerClass 1 FcgidFixPathinfo 1 AddHandler fcgid-script .php FcgidWrapper /usr/bin/php-cgi .php FcgidInitialEnv PHP_FCGI_CHILDREN "8" FcgidInitialEnv PHP_FCGI_MAX_REQUESTS "1" =A0 =A0 =A0 =A0Options +ExecCGI DirectoryIndex index.php i using a 307 redirect temporally, but that is the configuration that give me this problem. as i told before the file that try to open php-cgi is prefixed with "redirect:" string. > Something to consider when debugging mod_fcgid issues is that the same > config should work with mod_cgi[d] simply by changing the handler from > fcgid-script to cgi-script. =A0More people on the users@ mailing list > are able to help with mod_cgi config issues. > i take your advice and now i probe it, thanks :) i take the dessicion to use mod_fcgid because i use mapserver php module, and this module does not have a good memory management, and with mod_fcgid i solve this problems very efficiently. -- cheers, have a nice day. Felipe Alcacibar Buccioni.