From 788dc9ed5e5f6031c0529f700b0fd4700eaa216c Mon Sep 17 00:00:00 2001
From: Gervase Markham <gerv@gerv.net>
Date: Fri, 7 Aug 2015 14:24:43 +0100
Subject: [PATCH] Bug 1183571 - tell people they need to enable the CGI module.
 r=LpSolit

---
 docs/en/rst/installing/apache.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/en/rst/installing/apache.rst b/docs/en/rst/installing/apache.rst
index fe734b222..856512a7f 100644
--- a/docs/en/rst/installing/apache.rst
+++ b/docs/en/rst/installing/apache.rst
@@ -77,6 +77,14 @@ or, if not found, :file:`index.html` if someone only types the directory name
 into the browser; and allows Bugzilla's :file:`.htaccess` files to override
 some global permissions.
 
+On some Linux distributions you will need to enable the Apache CGI
+module. On Debian/Ubuntu, this is done with:
+
+:command:`sudo a2enmod cgi`
+
+If you find that the webserver is returning the Perl code as text rather
+than executing it, then this is the problem.
+
 .. _apache-mod_perl:
 
 Apache with mod_perl
-- 
2.24.1