Re: [Mod-fcgid-users] FastCgiAccessChecker

2007-05-05 Thread Janis Volbergs
Hi there, find below the previous discussion which then resulted in nothing :( From: Janis Volbergs [EMAIL PROTECTED] Date: March 2, 2007 2:26:14 PM GMT+02:00 To: mod-fcgid-users@lists.sourceforge.net Subject: Re: [Mod-fcgid-users] Problem with FastCgiAccessChecker Hi! Thanks for prompt

Re: [Mod-fcgid-users] FastCgiAccessChecker

2007-05-06 Thread Hock Szabolcs
Hi! This problem is fixed in 2.1 release, but in this version you should set up Sharemempath because the defailt setting is broken. for example: SharememPath /var/run/fcgid_shm Bye Szabka Janis Volbergs írta: Hi there, find below the previous discussion which then resulted in nothing :(

Re: [Mod-fcgid-users] security problem, possible DoS : fcgid large file uploading and input buffering

2007-05-08 Thread Gabriel Barazer
Hello, BTW, no one other than me is worried by the security problem due to large file uploading I described below ? On 04/30/2007 15:21:29 +0200, Gabriel Barazer [EMAIL PROTECTED] wrote: Hello, I experienced recently some problmes since a customer is doing large file uploads with PHP

Re: [Mod-fcgid-users] security problem, possible DoS : fcgid large file uploading and input buffering

2007-05-08 Thread Janis Volbergs
Hi! Why not limit maximum size of the data to be uploaded? This should be an easy patch to mod_fcgi. And about buffering, it would be more safe to have temporary files. However, this might get insecure, if the server has multiuser environment. E.g. other users might easily steal those

[Mod-fcgid-users] 500 internal server error - problem getting fastcgi to run at all! please, need help!

2007-05-08 Thread Tamer Higazi
Hi people! I don't know how to go on further, but I did the installation instructions to get PHP 5.2.2 running as fast-cgi on Apache2. Can somebody help me? I followed the exact configuration steps mentioned in the sample configuration as well I compiled PHP with the --with-fastcgi option. My

Re: [Mod-fcgid-users] security problem, possible DoS : fcgid large file uploading and input buffering

2007-05-09 Thread Janis Volbergs
On May 9, 2007, at 10:54 AM, Gabriel Barazer wrote: On 05/08/2007 21:41:41 +0200, Janis Volbergs [EMAIL PROTECTED] wrote: Why not limit maximum size of the data to be uploaded? This should be an easy patch to mod_fcgi. And about buffering, it would be more safe to have temporary files.

[Mod-fcgid-users] [PATCH] authn/z fixes

2007-05-09 Thread Chris Darroch
Hi -- Please find below a cumulative patch for a number of issues with mod_fcgid; the patch should apply against CVS HEAD. Some of these are minor but most of them are crucial for anyone using the FastCgiAuthenticator, FastCgiAuthorizer, and/or FastCgiAccessChecker configuration directives.

[Mod-fcgid-users] 500 internal server error - problem getting fastcgi to run at all! please, need help!

2007-05-10 Thread Tamer Higazi
Hi people! I don't know how to go on further, but I did the installation instructions to get PHP 5.2.2 running as fast-cgi on Apache2. Can somebody help me? I followed the exact configuration steps mentioned in the sample configuration as well I compiled PHP with the --with-fastcgi option. My

[Mod-fcgid-users] New features and request for tarball update.

2007-05-10 Thread filip palian
Hi, First of all thanks for great job Pan qingfeng! I'm using mod_fcgid for few weeks and in my opinion it lacks: - cooperation with MPM ITK; This would allow mod_fcgid to access its sockets after ITK will drop privileges. mod_fcgid is not able to access them anymore after that. - possibility

Re: [Mod-fcgid-users] New features and request for tarball update.

2007-05-11 Thread Alli Quaknaa
For gentoo there is a simple solution - CVS ebuild. If you would like me to make it, just tell me, it's simple. al-Quaknaa - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Mod-fcgid-users] [PATCH] authn/z fixes

2007-05-11 Thread Chris Darroch
Hi -- Please find below a cumulative patch for a number of issues with mod_fcgid; the patch should apply against CVS HEAD. Some of these are minor but most of them are crucial for anyone using the FastCgiAuthenticator, FastCgiAuthorizer, and/or FastCgiAccessChecker configuration

[Mod-fcgid-users] can't get fastcgi file info

2007-05-22 Thread Joachim Durchholz
Hi all, I've got a local denial-of-service with fcgid if used in a shared hosting environment. Situation - Shared hosting on Ubuntu Dapper Drake (PHP 4.4.x, Apache 2.0.x, fcgid normally 1.0.7 but upgraded to 1.10 on my machine - that's still ancient, but unless I'm mistaken, the I

Re: [Mod-fcgid-users] Fcgid + suexec +chroot - No input file specified.

2007-06-30 Thread Jos Ewert
Well sometimes the solution can be this easy: I just had to add doc_root = /htdocs cgi.fix_pathinfo = 0 to my php.ini. Jos Ewert wrote: Hi, I have successfully set up fcgid and suexec and modified suexec to chroot to /var/kunden/webs/user. Unfortunately fcgid still sends the full path

[Mod-fcgid-users] Rlimits

2007-07-09 Thread Killhead
Hi All, I like to implement the following in mod_fcgid: - An rlimit restriction for each process that have spawned of mod_fcgid (a php binary) I tried the following in arch/unix/fcgid_proc_unix.c on line 100 ( on the end of the function ap_unix_create_privileged_process )

Re: [Mod-fcgid-users] Rlimits

2007-07-09 Thread Ingo Krabbe
Am Montag, 9. Juli 2007 13:53 schrieb Killhead: Hi All, I like to implement the following in mod_fcgid: - An rlimit restriction for each process that have spawned of mod_fcgid (a php binary) I tried the following in arch/unix/fcgid_proc_unix.c on line 100 ( on the end of

Re: [Mod-fcgid-users] fcgid large file uploading and input buffering

2007-07-11 Thread Gabriel Barazer
Hi, Very good improvement ! But isn't it possible to disable entirely the fcgid input buffering ? Some applications, particularly PHP are already designed to handle the input processing, and if we pre-buffer the request into mod_fcgid (thanks, this isn't a DoS risk anymore :) ), features like

[Mod-fcgid-users] How can i avoid this: total process count 10 = 10, skip the spawn request ?

2007-08-01 Thread [EMAIL PROTECTED]
Hello, I've switched recently from mod_fastcgi to mod_fcgid, and now I keep getting those errors. Is there any way to avoid this without increasing that process count value (which leads to an awffull lot of php-fcgi processes eating up RAM)?

Re: [Mod-fcgid-users] setting up individual scripts to be FastCGI

2007-08-12 Thread Weedy
AddHandler fcgid-script .fcg Mike Wexler wrote: I'm in the process of switching from mod_fastcgi to mod_fcgid. With fastcgi I could do something like: AddHandler fastcgi-script .fcgi and scripts that ended with .fcgi (in any directory) would be executed by the FastCGI mechanism. With

Re: [Mod-fcgid-users] [PATCH] Increase process management granularity to isolate fastcgi processes per virtualhost

2007-08-19 Thread 潘庆峰
Hi, Thanks, the patch applied. Thanks 在2007-08-19,Gabriel Barazer [EMAIL PROTECTED] 写道: Hi, As DefaultInitEnv directive can be passed by VirtualHost, we could have 2 virtualhosts with the same SuexecUserGroup user and group using the same FastCGI process even if the 2 VirtualHosts have

Re: [Mod-fcgid-users] passing PATH_INFO to PHP

2007-09-13 Thread Joachim Durchholz
Filip Hajny schrieb: On 13.9.2007, at 8:08, Joachim Durchholz wrote: Filip Hajny schrieb: Is there a known way how to pass PATH_INFO to PHP on mod_fcgid? I have tried both using FCGIWrapper and AddHandler approaches, but PHP ends up with an empty environment (other than what's raised using

Re: [Mod-fcgid-users] passing PATH_INFO to PHP

2007-09-13 Thread Filip Hajny
On 13.9.2007, at 10:14, Joachim Durchholz wrote: Could you provide us a URL that gives us phpinfo output? We could then take a closer look; it's a bit difficult to discern what's going wrong with the information that we have. Preferrably two URLs, one for a mod_php and one for a mod_fcgid

Re: [Mod-fcgid-users] passing PATH_INFO to PHP

2007-09-13 Thread Filip Hajny
Now I feel like a true idiot. I believed that PATH_INFO will always be populated, instead it's only populated if there is any, well, path info provided. http://phptest.joyeurs.com/cgi/index.php/wrzlbrmft http://phptest.joyeurs.com/fcgi-action/index.php/wrzlbrmft

[Mod-fcgid-users] no idle timeout after apache update

2007-09-15 Thread thinktank2007
Hello there, I have a problem after an Apache update to version 2.2.3 (mpm-prefork) on Debian etch using mod_fcgid 2.1 from the lenny tree. All applications which using fcgid (ruby, php5, python etc.) spawn its fcgid-process which won't timeout after the configurated idle timeout value, they

Re: [Mod-fcgid-users] no idle timeout after apache update

2007-09-17 Thread Hock Szabolcs
Hi I think you should set the *DefaultMinClassProcessCount directive to 0. *Hope this helps. Szabka * * Hello there, I have a problem after an Apache update to version 2.2.3 (mpm-prefork) on Debian etch using mod_fcgid 2.1 from the lenny tree. All applications which using fcgid (ruby,

Re: [Mod-fcgid-users] Controlling number of processes

2007-09-17 Thread Hock Szabolcs
Hi! As mod_fgid doesn't support request pipeling, it doesn't make sense to use the processmanager provided by php. Php's processmanager can be turned off by setting the DefaultInitEnv PHP_FCGI_CHILDREN directive to 0. Regards, Szabka Jens Mittag írta: Hi! I am using mod_fcgid and

Re: [Mod-fcgid-users] Need help: mod_fcgid: read timeout from pipe

2007-10-10 Thread Steffen
See the blue note at http://www.apachelounge.com/download/ - Original Message - From: Xiaoyu Huang To: mod-fcgid-users@lists.sourceforge.net Sent: Wednesday, 10 October, 2007 11:39 Subject: [Mod-fcgid-users] Need help: mod_fcgid: read timeout from pipe I run

Re: [Mod-fcgid-users] Need help: mod_fcgid: read timeout from pipe

2007-10-10 Thread Steffen
Sorry I was no accurate: - First see the blue note at http://www.apachelounge.com/download/ , the 2.2.6 from http://httpd.apache.org is buggy - Replace SetHandler fcgid-script with: AddHandler fcgid-script .php - Replace FCGIWrapper c:/php/php.exe .php with: FCGIWrapper c:/php/php-cgi.exe

[Mod-fcgid-users] Modifying configuration from an other Apache module

2007-10-11 Thread Alexander Schrijver
Hi everyone, I am developing a virtual hosting module for Apache and I would like to use mod_fcgid for this as well. What would be the best way to modify the mod_fcgid configuration from an other Apache module? I could not find any documentation on this subject so I was hoping someone here on the

Re: [Mod-fcgid-users] Zero CONTENT_LENGTH in POST segfaults Apache

2007-10-17 Thread Ross Thomas
Hi Folks, Is this list alive? Ross. -- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow - This SF.net email is sponsored by: Splunk Inc. Still grepping

Re: [Mod-fcgid-users] Zero CONTENT_LENGTH in POST segfaults Apache

2007-10-18 Thread 潘庆峰
Hi, It's fine to me...here is how i test vi cgi-bin/test#!/bin/sh echo Content-type: text/html echo echo htmlh1Hello!/h1/html echo vi nc.txtPOST /cgi-bin/test HTTP/1.1 Host: fastcgi.coremail.cn Connection: CloseContent-Length: 0 cat nc.txt | nc 127.0.0.1 80 HTTP/1.1 200 OK Date: Thu, 18 Oct

Re: [Mod-fcgid-users] Zero CONTENT_LENGTH in POST segfaults Apache

2007-10-19 Thread Ross Thomas
Thanks for the demo. It looks like it may be an Apache 2.0.x problem, then. Seems that there is no debugging to be got from mod_fcgid so I will need to get creative about debugging this. :-( Is there another list or forum for discussing the fcgid stuff? Ross. On Thu, 18 Oct 2007 18:10:10

[Mod-fcgid-users] premature end of script headers

2007-10-20 Thread Erno Kovacs
I am having troubles with the following combination: Apache 2.2.6 + mod_fcgid 2.2 + php-fcgi 5.2.4 + eAccelerator(latest) I got Internal server error time to time, some examples taken from error_log: [Sat Oct 20 08:26:12 2007] [warn] (104)Connection reset by peer: mod_fcgid: read data from

Re: [Mod-fcgid-users] premature end of script headers

2007-10-22 Thread Daniel Schlenzig
Hello Erno, As to your first part I might have some additional information to clarify the messages you have seen in your logs. I am having troubles with the following combination: Apache 2.2.6 + mod_fcgid 2.2 + php-fcgi 5.2.4 + eAccelerator(latest) eAccelerator is really bad for php 5.2+. It

Re: [Mod-fcgid-users] premature end of script headers

2007-10-22 Thread Gabriel Barazer
On 10/22/2007 10:20:37 AM +0200, Daniel Schlenzig [EMAIL PROTECTED] wrote: I was wondering, in the configuration above you mentioned: (httpd) MaxRequestsPerProcess 500 (php wrapper script) PHP_FCGI_MAX_REQUESTS=2000 export PHP_FCGI_MAX_REQUESTS are these lines still accurate in your

[Mod-fcgid-users] segmentation fault

2007-11-07 Thread Martin Korous
Hello, I have 3 web servers with fcgid first is OK (dibbley) 2 segmentation fault (archie and baxter) 1) BAXTER fcgid 2.1, php 5.2.4, apache 2.2.4, linux 2.6.21.5 apache error log: [Wed Nov 07 09:35:10 2007] [notice] mod_fcgid: process /home/www/adomain/www/adomain/index.php(5272) exit(server

[Mod-fcgid-users] compatibilities between vesions of mod_fcgid

2007-11-20 Thread rahul
Hi, I am integrating mod_fcgid with Solaris Apache 2.2 package Distribution. I would like to know which versions are guaranteed to be compatible. ie: would mod_fcgid.2.2 be completely compatible with mod_fcgid.2.3 ? and how about mod_fcgid.3.x ? (Which version change can break the

[Mod-fcgid-users] Zero CONTENT_LENGTH in POST segfaults Apache

2007-11-30 Thread Giuliano Pochini
I've just tested mod_fcgid and I have the same problem reported by Ross Thomas. After some tests I figured out that the segfault is not caused by CONTENT_LENGTH==0 and POST. It happens (at least in my case) when the cgi does not print anything between two FCGX_Accept() calls. Example: while

Re: [Mod-fcgid-users] mpm_worker and trac environment (python)

2007-12-11 Thread Weedy
Gunnar Thielebein wrote: Hi all, i did get trac running with fcgid on apache in gentoo without thread and mpm_prefork which works but was pretty slow on an pIII. same was with mod_pyton. So I tested with compiling apache with mpm_worker and get this message when trying fcgid again

Re: [Mod-fcgid-users] Disable suexec check

2007-12-13 Thread Erik Wasser
On Wednesday 12 December 2007, Ross Thomas wrote: I haven't applied the patch yet but if it works I'd give it a major vote for inclusion. I think it's a good idea. B-) The patch is very small (only one line will be changed, not counting the lines for adding the new apache option) and the old

Re: [Mod-fcgid-users] [PATCH] Correct handling of PassHeader

2007-12-19 Thread Christian Seiler
Hello! Thank you for your contribution, but IMHO this patch is not necessary because the problem comes from Apache not allowing the Authorization header to be added as an environment variable (Header = HTTP_HEADER transformation). See the httpd-2.2.4 source,server/util_script.c:173. Ok,

[Mod-fcgid-users] what does mod_fcgid do by graceful and graceful-stop ?

2007-12-20 Thread Gábor Farkas
hi, apache2ctl accepts the following commands: start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus from these some (configtest, status, fullstatus,start) are not important here, but for the rest, i would like to know, how mod_fcgid behaves: 1. stop: when i call

[Mod-fcgid-users] prespawn of cgi-apps

2008-02-04 Thread Andre Hübner
Hello List, i use mod_fcgid to start my cgi-applications. I tried to answer my question with fcgid-documentation. But i think the docs are a little bit spartan ;) Is there a possibility to prespawn some apps, for instance php? i have the problem that some of my users use php (different versions)

[Mod-fcgid-users] Passing authentication to CGI

2008-02-04 Thread FDKM
Hi, I want to pass the authentication to my CGI. In my httpd.conf I have these directives: FastCgiAuthenticatorAuthoritative off FastCgiAuthorizerAuthoritative off FastCgiAccessCheckerAuthoritative off But apache2 complains: Invalid command 'FastCgiAuthorizerAuthoritative', perhaps misspelled

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Gabriel Barazer
On 03/10/2008 3:19:16 PM +0100, Tobias Wiersch [EMAIL PROTECTED] wrote: Gabriel Barazer schrieb: 1) Is the delay *exactly* 2 seconds when calling a PHP script (before getting the http error 500 from your suexec test) ? Or is there another additionnal delay to look for ? I think it is

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Gabriel Barazer
On 03/10/2008 7:53:10 PM +0100, Tobias Wiersch [EMAIL PROTECTED] wrote: Yes, the results were from 2 servers. The Etch-server has the problem. I wrote the results from the sarge server only to show the difference. can you tell what is the mod_fcgid version on each server? If the version

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-11 Thread Tobias Wiersch
Hi Gabriel, first of all: I solved it. Gabriel Barazer schrieb: can you tell what is the mod_fcgid version on each server? If the version is the same, you may be facing the same bug on each server, but for some reason it's not triggered on Debian Sarge. Debian is a little conservative

Re: [Mod-fcgid-users] mod_fcgid prevents graceful Apache restart on Windows

2008-04-06 Thread Tom Donovan
An additional problem with Apache restarts on Windows is the kill_all_subprocess() function in fcgid_pm_main.c This function, which is called at shutdown, attempts to destroy the proc_pool for each node. If the node is shutting down, this may collide with the pool destruction in

[Mod-fcgid-users] Howto: passheaders option?

2008-04-20 Thread Starhost - Noël Elsten
How should one use the option to pass headers to the cgi scripts? I can't seem to find any information on how to do this in the documentation. I've tried the following, but that doesn't seem to be working: FCGIWrapper /path/to/fcgi-bin/php5 PassHeader Authorization .php Thanks, Noel Elsten

[Mod-fcgid-users] problems with graceful restarts and mod_fcgid

2008-04-24 Thread Stefan Priebe - allied internet ag
Hello! We've many problems with mod_fcgid and graceful restarts. Often it happens, that some fcgi processes are left while a graceful restart is done. These processes got never killed until i stop the apache. In case of such a graceful restart - the error.log shows up the following: [Wed Apr 23

[Mod-fcgid-users] Apache consuming all available memory

2008-06-04 Thread Frank Costanza
Several people in the past have reported problems with large uploads and Apache consumimg all available memory. Although it is claimed that MaxRequestInMem and MaxRequestLen introduced in mod_fcgid 2.2 can be used to overcome this memory consumption problem, it appears that it does not work as

[Mod-fcgid-users] Difficulty compiling mod-fcgid on centos 5

2008-06-04 Thread Andrew White
Hi, I'm having a difficult time compiling mod-fcgid. My Make file is this: # # Makefile for Apache2 # builddir = . top_dir = /usr/lib/httpd top_srcdir = ${top_dir} top_builddir = ${top_dir} VPATH = arch/unix/ #include ${top_builddir}/build/special.mk include

Re: [Mod-fcgid-users] Difficulty compiling mod-fcgid on centos 5

2008-06-04 Thread Andrew White
Wonderful, that link did the trick!! -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Wed 6/4/2008 1:06 PM To: mod-fcgid-users@lists.sourceforge.net Subject: Re: [Mod-fcgid-users] Difficulty compiling mod-fcgid on centos 5 On Wed, 4 Jun 2008 13:16:37

[Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-11 Thread Igor R.
Hello All, Havng read a lot of articles about FastCGI, I decided to use this module to speed up processing of php and RoR applications. I use CPanel as a hosting panel. And I use Apache with suexec support as a web server. After compilling apache php and mod_fcgid I faced the problem of

Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-12 Thread [EMAIL PROTECTED]
On Wed, 11 Jun 2008 18:44:15 +0300 Igor R. [EMAIL PROTECTED] wrote: Hello All, Havng read a lot of articles about FastCGI, I decided to use this module to speed up processing of php and RoR applications. I use CPanel as a hosting panel. And I use Apache with suexec support as a web

Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-13 Thread Tobias Wiersch
Hi Igor, Igor R. schrieb: But I don't want to make a new wrapper and change PHPRC variable after each new user creation. I patched suexec to do this (to get rid of the wrapper-script). My suexec is allowed to only call the php-exe and nothing else. In addition, I put in PHPRC and

Re: [Mod-fcgid-users] mod_fcgid, php-fcgi and PHPRC

2008-06-13 Thread Igor R.
Hi All, Thanks to all who responded regarding my issue. I solved it with the help of writting the wrapper with the following content: #!/bin/bash USER=`id -un` export HOME=`/usr/sbin/pw user show $USER | awk -F : '{print $9}'` export PHPRC=$HOME/public_html/php.ini export PHP_FCGI_CHILDREN=0

[Mod-fcgid-users] DESPERATE need for help with suexec. (php-cgi wrapper 'saying no input file')

2008-06-16 Thread Anton - Valqk
Hi group, I'm trying to run mod_fcgid with custom suexec and fcgiwrapper. I have it running without the suexec, but when I get to this point I'm stuck, debugging for over a week. The main problem is that if I run mod_fcgid with original apache suexec it works, as expected, If I'm using _custom_

Re: [Mod-fcgid-users] DESPERATE need for help with suexec. (php-cgi wrapper 'saying no input file')

2008-06-16 Thread Alli Quaknaa
Well, if you're really desperate, I have a solution with mod_php and mod_ruid, but I don't know if it realyl does what you want. It does no chroot, but it does change uid/gid. What specifically are you looking for? Sorry, but doN expect any help regarding suexec modification from me, I have no

Re: [Mod-fcgid-users] DESPERATE need for help with suexec. (php-cgi wrapper 'saying no input file')

2008-06-16 Thread Starhost - Noël Elsten
I'm running mod_fcgid on freebsd and it is working fine. Here you find my apache config files and the way suexec is build. IfModule fcgid_module # Set config options for FCGID PHP_Fix_Pathinfo_Enable 1 PASSHEADER AUTHORIZATION MaxRequestsPerProcess 500

Re: [Mod-fcgid-users] DESPERATE need for help with suexec. (php-cgi wrapper 'saying no input file')

2008-06-17 Thread Anton - Valqk
Oky, so far, so good, mod_fcgid is passing the path to the php(or any other script/bin) it's trying to run and php searches in the wrong path, because in suexec I strip out the CHROOTBASE path. I'll have to patch mod_fcgid with the same striping code so the path to the command being run is the

[Mod-fcgid-users] Fwd: Re: DESPERATE need for help with suexec. (php-cgi wrapper 'saying no input file')

2008-06-23 Thread Jos Ewert
Hi, Yes this is working on 2.2 , I cant find out why it shouldn't work . how does your new SuexecStripBase config look like? Its still declared like SuexecUserGroup, so it needs 2 variables which are send to *set_uname(cmd_parms *cmd, void *dummy, const char *uid, const char *gid) in the last

[Mod-fcgid-users] mod_fcgid APR 1.3 and restart fixes

2008-07-06 Thread Steffen
We have now 2 versions of mod-fcgid at the Apache Lounge available. Both containing patches to the CVS source mod_fcgid-2.2a-w32.zip (for Apapache 2.2.0 - 2.2.8, works only with APR 1.2.x) Contains a Restart fix. Mod_fcgid was preventing a gracefull restart and shutdown of Apache.

[Mod-fcgid-users] basic authentication in php is not passed through mod_fcgid

2008-07-11 Thread Wolfgang Hennerbichler
Hi people, I have an application that I'd like to switch to mod_fcgid, but unfortunately it doesn't work as I wanted it to. the (php) application uses basic authentication (not in apache but in php) but the entered information is definitely not sent down to the application with mod_fcgid.

Re: [Mod-fcgid-users] basic authentication in php is not passed through mod_fcgid

2008-07-11 Thread Christian Seiler
Hi, I compile my server binaries and never rely on pre-compiled versions; I _never_ imagined using Apache without suexec which IMHO is a complete nonsense and should be a default behavior. Finally I never imagined running any virtualhost with the Apache user. That way, running Apache

[Mod-fcgid-users] Authorizer vs. Responder role.

2008-07-13 Thread Bryan White
I have been using mod_fastcgi for years. The apps are all C++ with my own code for handling the fastcgi socket. Today I was experimenting with with using mod_fcgid instead with an eye toward comparing performance. For the most part it worked straight away. However I have one problem. Some

Re: [Mod-fcgid-users] Limit maximum number of processes

2008-07-15 Thread Gabriel Barazer
Hi On 07/15/2008 5:45:54 PM +0200, Ron [EMAIL PROTECTED] wrote: IdleTimeout 10 IdleScanInterval 5 MaxProcessCount 0 DefaultMaxClassProcessCount 1 SpawnScoreUpLimit 0 Setting values to 0 cannot make mod_fcgid behave as expected. More on this

[Mod-fcgid-users] Overriding DefaultMaxClassProcessCount in vhost config

2008-07-21 Thread Brad Plant
Hi list, I have set DefaultMaxClassProcessCount to 10 globally in my httpd.conf to restrict each vhost to running to more than 10 php processes. I would like to increase this setting for a couple vhosts, but when I put DefaultMaxClassProcessCount in a vhost, it seems to have no effect. I.e. I

[Mod-fcgid-users] Do virtual hosts have to be separated into classes?

2008-08-06 Thread Nick Loman
Hi there, I have a fixed ceiling of PHP processes, but multiple virtual hosts. As I understand it, PHP processes are allocated to a class based on virtualhost the request comes from. Is there a way of putting all PHP requests from any virtual host into the same class? I.e. I want to have a

mod-fcgid-users@lists.sourceforge.net

-- Thread

Re: [Mod-fcgid-users] mod_fcgid on FreeBSD amd64

2008-09-09 Thread Ivan Voras
2008/9/7 Richard Tector [EMAIL PROTECTED]: I'm having problems on FreeBSD 7.0 amd64 with mod_fcgid 2.2. I can reproduce the problem on 3 different amd64 based machines. One with apache 2.0.51 and the others with apache 2.2.9. Apache fails to start with: [Sun Sep 07 16:29:17 2008] [emerg]

[Mod-fcgid-users] listen on ip address?

2009-01-07 Thread Brian Grossman
How can I run the fcgi on one machine, and display it on another? For example, with the fastcgi module I could use: FastCgiServer /path/to/exe -port 33666 and FastCgiExternalServer /blah -host hostname:33666 I don't see the equivalent of either client or server in the docs. If it truly doesn't

[Mod-fcgid-users] Spawning explanation

2009-02-26 Thread Olivier B.
Hello, I use mod-fcgid 2.2 with Apache 2.2.9 (worker), and php 5.2.6 on a Debian Lenny 64bits. My fcgid conf (for tests) : MaxProcessCount 32 DefaultMaxClassProcessCount 4 DefaultMinClassProcessCount 2 the PHP wrapper : #!/bin/dash export PHP_FCGI_CHILDREN=5 export

Re: [Mod-fcgid-users] Spawning explanation

2009-02-27 Thread Olivier B.
Yes, but in that case why PHP forks ? children will never be used !? Olivier Ivan Voras a écrit : 2009/2/27 Olivier B. fcgid.l...@daevel.fr: The DefaultMaxClassProcessCount is reached, but why fcgid try have launched 4 process ? Just one or two should be sufficient in the case of five

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Max Dittrich
Olivier B. wrote: Yes, but in that case why PHP forks ? children will never be used !? AFAIK (?) mod_fcgid can't multiplex multiple request on one fcgi-socket. The fcgi-connection is 1:1 (http request -- fcgi connection) and can't be shared across childs/threads of apache. .max

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Filip Hajny
On 28.2.2009, at 12:10, Max Dittrich wrote: Olivier B. wrote: Yes, but in that case why PHP forks ? children will never be used !? AFAIK (?) mod_fcgid can't multiplex multiple request on one fcgi- socket. The fcgi-connection is 1:1 (http request -- fcgi connection) and can't be shared

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Olivier B.
Max Dittrich a écrit : AFAIK (?) mod_fcgid can't multiplex multiple request on one fcgi-socket. The fcgi-connection is 1:1 (http request -- fcgi connection) and can't be shared across childs/threads of apache. .max Ok, it is what I see too. Thanks. Filip Hajny a écrit : PHP forks

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Olivier B.
So, I simply read the file sapi/cgi/README.FastCGI in the PHP source. If I well understand, this feature is usefull when you run directly PHP as the fcgi daemon. I have the end of my explanation, thanks and sorry for noise ;) Olivier Olivier B. a écrit : Max Dittrich a écrit : AFAIK (?)

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Filip Hajny
On 28.2.2009, at 15:24, Olivier B. wrote: So, I simply read the file sapi/cgi/README.FastCGI in the PHP source. If I well understand, this feature is usefull when you run directly PHP as the fcgi daemon. It's also useful when you want memory shared among the PHP processes (e.g. for

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Olivier B.
Yes I was thinking that but what is the interest to share memory between processes which never run simultaneously ? Olivier Filip Hajny a écrit : On 28.2.2009, at 15:24, Olivier B. wrote: So, I simply read the file sapi/cgi/README.FastCGI in the PHP source. If I well understand, this

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Filip Hajny
On 28.2.2009, at 17:05, Olivier B. wrote: Yes I was thinking that but what is the interest to share memory between processes which never run simultaneously ? They do. If you let PHP spawn them, they all start right away, and keep running until you kill them. They are not killed when idle

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Filip Hajny
On 28.2.2009, at 17:27, Olivier B. wrote: my first question was about that : it seems that fcgid will _never_ use this concurrent PHP instances. If there is 2 concurrent access, fcgid will spawn an other group of PHP to handle that, it will not use the first group of php instance which

Re: [Mod-fcgid-users] Spawning explanation

2009-02-28 Thread Olivier B.
Filip Hajny a écrit : Yes, well, my point was... if you care about shared memory, then constrain mod_fcgid to a single PHP process only, let the PHP process fork its own children and hope they will be able to process all requests before mod_fcgid considers the single process busy and you

Re: [Mod-fcgid-users] Parse POST data

2009-03-13 Thread Ivan Voras
2009/3/13 double nin...@gmx.at: Hello, If I am uploading a video to a mod-fcgid server, the POST data is collected and submitted to the fastcgi-application in bulk. Is there any chance to configure mod-fcgid, so that the application can read from stdin what is already uploaded? I want to

[Mod-fcgid-users] no headers sent

2009-04-29 Thread Martin Korous
Hello, I have problem with php5.2.9 and fcgid2.2 on 64bit sytem no headers sent if output is blank. I have described it more in php bugzilla already: http://bugs.php.net/bug.php?id=48041 Can anyone reproduce it too? Regards Martin Korous

[Mod-fcgid-users] mod_fcgi error: Premature end of script headers

2009-05-11 Thread Christian Rishøj
Hi, Since switching to mod_fcgid, our production server periodically throws a 500-error when handling a PHP-backed request. The Apache error log shows: [Mon May 11 11:26:40 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Mon May 11 11:26:40

Re: [Mod-fcgid-users] mod_fcgi and Digest Authorization

2009-07-21 Thread double
Janis Volbergs schrieb: Hi! Mod_fcgid is a nice substitute for mod_fastcgi, however, it really fails, when we talk about FastCgiAuthentication or AccessChecking. It just won't work.. We had interesting protection engine built and enabled using mod_fastcgi and it worked fine. With

[Mod-fcgid-users] Weird behavior or what?

2009-08-19 Thread Noor
Hello list. (I hope I'm posting to the right mailing list. If not, then I apologize already and ask you to direct me to the right list. Thanks!) I've setup the following configuration on a Dell 2940 2 x Quad-Core with 4GB RAM: - FreeBSD 7.2-STABLE amd64 bit. Kernel recompiled with minimal

Re: [Mod-fcgid-users] Weird behavior or what?

2009-08-19 Thread Jason
Way too involved of a question for this list :) I'd suspect that your application is fairly heavy judging from avg response times and that if you ran it from a script without involving fastcgi or apache you'd see similar throughput. On Wed, Aug 19, 2009 at 2:45 PM, Noor

Re: [Mod-fcgid-users] Weird behavior or what?

2009-08-19 Thread Olivier B.
Travers Carter a écrit : On Thu, 20 Aug 2009 00:45:36 +0300, Noor mlist-fc...@orientalsensation.com wrote: And while you're at it, I'll through in another question: How does eAccelerator/FastCGI manage the shared memory segments? According to eAccelerator's homepage, it'll share such

[Mod-fcgid-users] Yet more weird results...

2009-08-20 Thread Noor
Hello list, On a previous post (http://sourceforge.net/mailarchive/message.php?msg_name=d5fcc4ff0908191445x18dbadd8rdad145aa4e0c1c1f%40mail.gmail.com), I've reported weird statistics after runnning siege on a heavy PHP application. Those tests were done on localhost and were blazing-fast even for

Re: [Mod-fcgid-users] Yet more weird results...

2009-08-21 Thread Piotr Gackiewicz
On Thu, 20 Aug 2009, Noor wrote: According to the results, setting a top of 8 processes for the FastCGI-launched php-cgi process would achieve a remarkable boost in performance. Even better than setting 100 processes, and each equipped with an eAccelerator opcode. Hi, Were these 100 php

Re: [Mod-fcgid-users] Weird behavior or what?

2009-08-25 Thread Ivan Voras
2009/8/19 Noor mlist-fc...@orientalsensation.com: tldr; According to these findings, the best benchmark is when MaxProcessCount is set to 8 (which is number of CPU's). Is this just an accident? According to so many tips and pages I read on the No. In general, a thread-pool design, which is

[Mod-fcgid-users] Problem serving binary content with Apache 2.2.13 - PHP 5.3.0 - mod_fcgid 2.2

2009-09-10 Thread Marcus Merz
Hi, i ran into a problem with mod_fcgid and i wonder whether anybody can replicate my problem. There is also a bug report in here: http://sourceforge.net/tracker/?func=detailaid=2854396group_id=174879atid=870991 Since i wrote the bug report, i did update to Apache 2.2.13, PHP 5.3.0 and

Re: [Mod-fcgid-users] mod_fcgid has moved to the ASF

2009-09-18 Thread Chris Darroch
double wrote: Hi Chris, Great! Is there a what's new available? Thanks Marcus See the CHANGES-FCGID file in the distribution, or look at http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk/CHANGES-FCGID for the latest trunk info. Chris. -- GPG Key ID: 366A375B GPG Key

Re: [Mod-fcgid-users] mod_fcgid has moved to the ASF

2009-09-18 Thread PGNet Dev
hi, On Fri, Sep 18, 2009 at 2:33 PM, Chris Darroch chr...@pearsoncmg.com wrote:   See the CHANGES-FCGID file in the distribution, or look at http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk/CHANGES-FCGID for the latest trunk info. i've built .../trunk against 2.2.13 sources. it's

[Mod-fcgid-users] mod_fcgid now is a part of Apache httpd, this maillist is shutting down

2009-09-27 Thread pqf
Hi, guys mod_fcgid now is a part of Apache httpd, and the new home page is: http://httpd.apache.org/mod_fcgid/ Discussions of mod_fcgid take place on the main HTTPD development mailing list. * d...@httpd.apache.org - development (archives). * c...@httpd.apache.org - svn commit

Re: [Mod-fcgid-users] mod_fcgid has moved to the ASF

2009-10-09 Thread double
Chris Darroch schrieb: See the CHANGES-FCGID file in the distribution, or look at http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk/CHANGES-FCGID for the latest trunk info. Chris. Hi Chris, The reason, why we still stick to mod_fastcgi is the upload behaviour. We support uploads

[Mod-fcgid-users] ap_pass_brigade

2009-10-13 Thread double
Hello, We have tons of this error message in our logfile: Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function It seams, that this happens when the client cancels the connection: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537922 Thanks Marcus

[Mod-fcgid-users] 一个关于权限的问题

2009-10-30 Thread 张沈鹏
原来用的是debian的state版本,一切正常,然后今天升级到了unstate Zues:/var/log/apache2# apache2 -v Server version: Apache/2.2.14 (Debian) Server built: Sep 29 2009 19:41:44 Package: libapache2-mod-fcgid State: installed Automatically installed: no Version: 1:2.2-1 Priority: optional Section: httpd Maintainer: Tatsuki

Re: [Mod-fcgid-users] 一个关于权限的问题

2009-10-31 Thread 张沈鹏
[Sat Oct 31 20:29:37 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Sat Oct 31 20:29:37 2009] [error] [client 127.0.0.1] Premature end of script headers: zpyweb.fcgi 貌似是suexec的问题,一旦加上了suexec就有这问题 怎么解决呢,原来升级前是好的

  1   2   >