On Fri, 9 Jun 2000, Avi Boots wrote:

> hi,
> 
> When i have a 1000 users together, it mean that i have 1000 copies 
> of the CGI program in memory ? (i'm not shur if it working like
> this on RH6.1 with Apache, but i think so).
> 
> How can i open only one copy of the CGI program ?

Depends a lot about on the programming language used: if it's Perl, 
use the Apache mod_perl, if it's Python use the Apache modpython
(http://www.modpython.com). In general, CGI doesn't scale well: try going
for a more modern solution: Python's Zope, Perl's HTML::Mason, Java's
Servlets and JSP, or PHP. If you're doing it in C, C++ or Fortran, you
might consider writing an Apache module.

--
Moshe Zadka <[EMAIL PROTECTED]>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to