There are two concepts here -- one is having a CGI-server and the other is running it under mod_perl.
LinkSQL will run under mod_perl (I haven't tried it, but that's the rumor<G> ) mod_perl bloats the Apache process, so you can't handle as many processes per machine, but if the process is running a cgi program it runs a lot faster. So, the best of both worlds is to use 'lean' apache for static pages, and mod_perl apache for cgi processes, and the best way to do it is to run two machines, thus you can apportion resources more easily as to which part of the process needs beefing up. (usually the static page serve never does <G> )
So, if you have two machines, put your /cgi-bin directory on one machine, and your /html directory on the other.
You would name your machines mydomain.com and cgi.mydomain.com (for example).
All the cgi calls would go to the cgi. machine (example):
http://cgi.mydomain.com/cgi-bin/page.cgi
Your static pages are served off of:
http://www.mydomain.com/html
The cgi.mydomain.com machine is running a version of Apache with mod_perl compiled in, and it will run faster that way (as start up penalties are avoided, and processes stay "alive")
There are specifics on how to do this in the mod_perl area on
http://www.apache.org The idea is to "force" the cpu-intensive processes off the http://www.mydomain.com machine, and onto cgi.mydomain.com
You can't just alias the directory to the other machine, because you want the Apache _on_ the other machine to actually run it, so you need to invoke that with a new http://cgi.mydomain.com call.
[[NOTE: There are instructions for using the ReWrite engine to alias between two copies of Apache across two machines:
http://perl.apache.org/guide/scenario.html#One_Light_and_One_Heavy_Server_w
It's probably _not_ as simple as that, and some debugging is bound to be needed.
****>>>> Is _anyone_ running two machines like this??? Or links spread across a network?
I won't be there for a few more months... til then, this is all theoretical
------------------
POSTCARDS.COM -- Everything Postcards on the Internet
www.postcards.com LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/