@@ -106,12 +106,20 @@ command to enable the configuration::
106106Additional Apache configurations
107107^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108108
109+ **Required modules: **
110+
109111* For Nextcloud to work correctly, we need the module ``mod_rewrite ``. Enable
110112 it by running::
111113
112114 a2enmod rewrite
113115
114- Additional recommended modules are ``mod_headers ``, ``mod_env ``, ``mod_dir `` and ``mod_mime ``::
116+ * If you're using ``mod_fcgi `` or ``php-fpm `` (PHP FastCGI Process Manager),
117+ you must enable the proxy modules::
118+
119+ a2enmod proxy
120+ a2enmod proxy_fcgi
121+
122+ **Recommended modules ** are ``mod_headers ``, ``mod_env ``, ``mod_dir `` and ``mod_mime ``::
115123
116124 a2enmod headers
117125 a2enmod env
@@ -130,6 +138,17 @@ Additional Apache configurations
130138 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
131139 </FilesMatch>
132140
141+ **Verifying modules are enabled: **
142+
143+ To verify that required modules are enabled, use the ``apache2ctl `` command::
144+
145+ apache2ctl -M | grep -E "rewrite|proxy|proxy_fcgi"
146+
147+ If you see matching output for the modules you've enabled, they are active.
148+ If any required module is missing, troubleshoot your OS package manager to
149+ ensure the Apache modules are installed (package names may vary by distribution;
150+ for example, on Debian/Ubuntu look for ``libapache2-mod-fcgid `` or similar).
151+
133152* You must disable any server-configured authentication for Nextcloud, as it
134153 uses Basic authentication internally for DAV services. If you have turned on
135154 authentication on a parent folder (via e.g. an ``AuthType Basic ``
0 commit comments