File disable_mod_autoindex.patch of Package rubygem-passenger.7794
diff --git a/ext/apache2/Hooks.cpp b/ext/apache2/Hooks.cpp index 0048783..8520324 100644 --- a/ext/apache2/Hooks.cpp +++ b/ext/apache2/Hooks.cpp @@ -1512,7 +1512,7 @@ public: RequestNote *note = getRequestNote(r); if (note != 0 && hasModAutoIndex()) { note->handlerBeforeModAutoIndex = r->handler; - r->handler = ""; + r->handler = "passenger-skip-autoindex"; } return DECLINED; }