Re: mod_cgid not able to handle large POST request

2006-04-05 Thread pradeep kumar
This expands to logs/cgisock from the code. When I start Apache with
mod_cgid and commenting the Scriptsock directive then I don't find the
logs/cgisock file created. I was wondering if this file must be created
even without the Scriptsock directive. If not how is the communication
between httpd and mod_cgid happeining.On 4/3/06, R, Rajesh (STSD) <[EMAIL PROTECTED]> wrote:





when commented it uses DEFAULT_SOCKET 
/cgisock
 
Rajesh R--This space intentionally left 
non-blank.
 


From: pradeep kumar 
[mailto:[EMAIL PROTECTED]] Sent: Monday, April 03, 2006 11:28 
AMTo: dev@httpd.apache.orgSubject: Re: mod_cgid not able 
to handle large POST request
I don't have multiple instances of Apache. When I just use the 
standard httpd.conf with only this directive commeted out I get this error. 
There is no issue of multiple instances using the same Unix socket. How does the 
communication between the cgid deamon and httpd deamon happen when the 
Scriptsock directive is commented out.
On 3/31/06, Jeff 
Trawick <[EMAIL PROTECTED]> 
wrote: 
On 
  3/31/06, pradeep kumar <[EMAIL PROTECTED] > 
  wrote:> One more detail. I get this error only on commenting out the 
  Scriptsock> directive. When I use this directive though I have no 
  trouble in running the> script.Is there more than one Apache 
  instance with same ServerRoot, such that using the default ScriptSock 
  results in multiple instances trying touse the same Unix 
  socket?  I assume you set Scriptsock to anon-default 
value?




RE: mod_cgid not able to handle large POST request

2006-04-02 Thread R, Rajesh (STSD)



when commented it uses DEFAULT_SOCKET 
/cgisock
 
Rajesh R--This space intentionally left 
non-blank.
 


From: pradeep kumar 
[mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 11:28 
AMTo: dev@httpd.apache.orgSubject: Re: mod_cgid not able 
to handle large POST request
I don't have multiple instances of Apache. When I just use the 
standard httpd.conf with only this directive commeted out I get this error. 
There is no issue of multiple instances using the same Unix socket. How does the 
communication between the cgid deamon and httpd deamon happen when the 
Scriptsock directive is commented out.
On 3/31/06, Jeff 
Trawick <[EMAIL PROTECTED]> 
wrote: 
On 
  3/31/06, pradeep kumar <[EMAIL PROTECTED] > 
  wrote:> One more detail. I get this error only on commenting out the 
  Scriptsock> directive. When I use this directive though I have no 
  trouble in running the> script.Is there more than one Apache 
  instance with same ServerRoot, such that using the default ScriptSock 
  results in multiple instances trying touse the same Unix 
  socket?  I assume you set Scriptsock to anon-default 
value?


Re: mod_cgid not able to handle large POST request

2006-04-02 Thread pradeep kumar
I don't have multiple instances of Apache. When I just use the standard
httpd.conf with only this directive commeted out I get this error.
There is no issue of multiple instances using the same Unix socket. How
does the communication between the cgid deamon and httpd deamon happen
when the Scriptsock directive is commented out.On 3/31/06, Jeff Trawick <[EMAIL PROTECTED]> wrote:
On 3/31/06, pradeep kumar <[EMAIL PROTECTED]
> wrote:> One more detail. I get this error only on commenting out the Scriptsock> directive. When I use this directive though I have no trouble in running the> script.Is there more than one Apache instance with same ServerRoot, such that
using the default ScriptSock results in multiple instances trying touse the same Unix socket?  I assume you set Scriptsock to anon-default value?


Re: mod_cgid not able to handle large POST request

2006-03-31 Thread Jeff Trawick
On 3/31/06, pradeep kumar <[EMAIL PROTECTED]> wrote:
> One more detail. I get this error only on commenting out the Scriptsock
> directive. When I use this directive though I have no trouble in running the
> script.

Is there more than one Apache instance with same ServerRoot, such that
using the default ScriptSock results in multiple instances trying to
use the same Unix socket?  I assume you set Scriptsock to a
non-default value?


Re: mod_cgid not able to handle large POST request

2006-03-31 Thread pradeep kumar
One more detail. I get this error only on commenting out the Scriptsock
directive. When I use this directive though I have no trouble in
running the script.

Regards,
PradeepOn 3/31/06, pradeep kumar <[EMAIL PROTECTED]> wrote:
Hi,

On using mod_cgid to handle large POST request i get a page not found error. This is what I did.
Have a HTML which generates a huge POST request and the action is taken
by a cgi-script which just checks the size of the request. 

The html is 


Click TEST for doing POST data!

http://server.com/cgi-bin/test3.cgi">
POST_DATA 









The test3.cgi is
#!/usr/bin/perl
$|++;

print "Content-type: text/html\n\n";
if ($ENV{CONTENT_LENGTH} > 2048) {
    print "Too much!\n";
} else {
    print "OK\n";
}

With this set up the script displays OK. But when the number of 1's in
the html is increased to a very huge number then I get a page not found
error. I do not find this error with mod_cgi though. Has this been
noticed before.

Regards,
Pradeep