The "AddHandler" directive for cgi scripts can be enabled in a
config file, so that server installation instructions can skip
this step.

Signed-off-by: Cleber Rosa <[email protected]>
---
 apache/conf/all-directives |    1 +
 apache/conf/cgi-directives |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 apache/conf/cgi-directives

diff --git a/apache/conf/all-directives b/apache/conf/all-directives
index c1c30a9..5092c13 100644
--- a/apache/conf/all-directives
+++ b/apache/conf/all-directives
@@ -2,6 +2,7 @@
 # This does not include stuff like proxy-directives and some of the files here
 # include other directive files.
 
+Include "/usr/local/autotest/apache/conf/cgi-directives"
 Include "/usr/local/autotest/apache/conf/gwt-directives"
 Include "/usr/local/autotest/apache/conf/django-directives"
 Include "/usr/local/autotest/apache/conf/afe-directives"
diff --git a/apache/conf/cgi-directives b/apache/conf/cgi-directives
new file mode 100644
index 0000000..f644ef8
--- /dev/null
+++ b/apache/conf/cgi-directives
@@ -0,0 +1 @@
+AddHandler cgi-script .cgi
-- 
1.7.5.2

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to