Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Stopping cgi after user stops browsing

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Umlaute in Apache2  
Author Message
nospam34

External


Since: Oct 20, 2003
Posts: 294



(Msg. 1) Posted: Mon Oct 20, 2003 1:49 pm
Post subject: Stopping cgi after user stops browsing
Archived from groups: alt>apache>configuration (more info?)

I have some Perl/Apache/rewrite rules that allows user to download data eg www.ipo-australia.com/download/200301.zip?format=fcharts
These downloads range from 100KB to serveral MB.

When a user hits 'stop', the cgi still keeps runing, eventhough I can see no data is being sent thru the ethernet port.

I have tried to trap sigpipe using the following Perl code but the cgi still runs.

eval {
local $SIG{PIPE} = sub { die "die\n" }; # NB: \n required

};

I have seen this question asked before but can't find a solution that works.

gtoomey

 >> Stay informed about: Stopping cgi after user stops browsing 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
stopping Apache on Win98 - I've seen this question asked a couple of other times on this group but haven't seen a satisfactory answer. Apache doesn't seem to want to stop on Win 98. 'Apache -k stop' reports that it is stopping for a few moments and then reports that it couldn't..

Enable directory browsing? - Hi I get the following error message when I call my public webdir without an index.html: --- Forbidden You don't have permission to access /~moeller/ on this server. Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7 Server --- This worked in the past...

Configuring for folder browsing, and securing folder - I have a development server that I need to configure apache to allow me to browse that particular folder structure on, I would also like to secure it so that it ask me, or anyone else to identify with a valid local system name/pw pair. Under IIS this i...

Turn off Directory Browsing / Indexing - RH 9.0 Apache 2.0.x I would like to turn off the ability of the general public to come to my web site and browse my directories. I know that putting a index.html inside each subdirectory will solve this but isn't there a configuration option to turn..

Newbie: Debian upgrade 2.2 to 3.0 stops apache - Just upgraded from Debian 2.2 to 3.0, fortunately on a test machine, but now Apache won't start. Problem I presume is related to Tomcat. Error given is Syntax error on line 69 of /etc/apache/httpd.conf: Invalid command 'JkWorkersFile', perhaps..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]