- Add into .cgi & .out into static-file.exclude-exception list
- Add cgi assignment for .cgi & .out

Signed-off-by: Sam Nelson <[email protected]>
---
 .../matrix-lighttpd-config/lighttpd.conf.matrix    |    9 +++++----
 1 file changed, 5 insertions(+), 4 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..062f9c1 100755
--- 
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
@@ -134,10 +134,11 @@ $HTTP["url"] =~ "\.pdf$" {
 }
 
 ##
-# which extensions should not be handle via static-file transfer
+# which extensions should not be handled via static-file transfer
 #
-# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
-static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
+# .php, .pl, .fcgi, are most often handled by mod_fastcgi or mod_cgi
+# Also exclude .cgi and .out files not be handled via static-file transfer
+static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".out" )
 
 ######### Options that are good to be but not neccesary to be changed #######
 
@@ -225,7 +226,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", ".out" => "" )
 #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
 #                               ".cgi" => "/usr/bin/perl" )
 #
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to