[rt-devel] speedy cgi

Vivek Khera khera at kcilink.com
Fri Mar 28 15:50:09 EST 2003


And a patch to sbin/rt-test-dependencies for SpeedyCGI support.

I'm running this on Apache2.  Seems to be pretty darned fast.  I don't
even need to put the images on another vhost, since only the html
files are mason-processed.  I haven't done through testing, but a
bunch of clicking around gave some pretty normal looking results.

I didn't make the mason_handler.scgi script setgid rt, but my www user
is in group rt so the config file is readable by it.  this seems a
cleaner solution than setgid to me.


--- rt-test-dependencies.in.dist	Thu Mar 27 10:44:08 2003
+++ rt-test-dependencies.in	Thu Mar 27 10:44:56 2003
@@ -34,7 +34,7 @@
 use CPAN;
 my %args;
 my %deps;
-GetOptions(\%args,'install', 'with-MYSQL', 'with-POSTGRESQL|with-pg|with-pgsql', 'with-SQLITE', 'with-ORACLE', 'with-FASTCGI', 'with-MODPERL1', 'with-MODPERL2' ,'with-DEV');
+GetOptions(\%args,'install', 'with-MYSQL', 'with-POSTGRESQL|with-pg|with-pgsql', 'with-SQLITE', 'with-ORACLE', 'with-FASTCGI', 'with-SPEEDYCGI', 'with-MODPERL1', 'with-MODPERL2' ,'with-DEV');
 
 if  (!keys %args) {
 help();
@@ -67,6 +67,7 @@
 	--with-oracle		Database interface for oracle (unsupported)
 
 	--with-fastcgi		Libraries needed to support the fastcgi handler
+	--with-speedycgi	Libraries needed to support the speedycgi handler
 	--with-modperl1		Libraries needed to support the modperl 1 handler
 	--with-modperl2		Libraries needed to support the modperl 2 handler
 
@@ -140,6 +141,11 @@
 CGI
 FCGI
 CGI::Fast 
+.
+
+$deps{'SPEEDYCGI'} = [ _( << '.') ];
+CGI
+CGI::SpeedyCGI
 .
 
 



More information about the Rt-devel mailing list