See attached the example. -----Original Message----- From: Cooper Jr., Franklin Sent: Wednesday, April 24, 2013 3:17 PM To: Zhang, Hao; meta-arago@arago-project.org Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP cgi.assign = ( ".php" => "/usr/bin/php-cgi", ".cgi" => "/bin/sh", ".o" => "" ) Can you give an example of the .cgi and .o file that requires this change? > -----Original Message----- > From: meta-arago-bounces@arago-project.org [mailto:meta-arago- > bounces@arago-project.org] On Behalf Of Zhang, Hao > Sent: Wednesday, April 24, 2013 1:29 PM > To: meta-arago@arago-project.org > Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi > and .out support in Matrix PHP > > From: Hao Zhang > > --- > .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd- > config/lighttpd.conf.matrix b/meta-arago-extras/recipes- > core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix > index 82a9fb8..2dce736 100755 > --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd- > config/lighttpd.conf.matrix > +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lig > +++ ht > +++ tpd.conf.matrix > @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensions > should not be handle via static-file transfer # # .php, .pl, .fcgi > are most often handled by mod_fastcgi or mod_cgi > -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) > +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o" > +) > > ######### Options that are good to be but not neccesary to be changed > ####### > > @@ -225,7 +225,7 @@ compress.filetype = ("text/plain", > "text/html","text/javascript","text/ > # ) > > #### CGI module > -cgi.assign = ( ".php" => "/usr/bin/php-cgi") > +cgi.assign = ( ".php" => "/usr/bin/php-cgi", ".cgi" => "/bin/sh", > ".o" => "" ) > #cgi.assign = ( ".pl" => "/usr/bin/perl", > # ".cgi" => "/usr/bin/perl" ) > # > -- > 1.7.9.5 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago