You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/03/19 02:46:03 UTC

[Bug 64239] New: mod_autoindex does not work on its own

https://bz.apache.org/bugzilla/show_bug.cgi?id=64239

            Bug ID: 64239
           Summary: mod_autoindex does not work on its own
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_autoindex
          Assignee: bugs@httpd.apache.org
          Reporter: sawozny@hotmail.com
  Target Milestone: ---

The documentation for mod_autoindex describes the contrasting purposes of
mod_dir and mod_autoindex and then states "The two functions are separated so
that you can completely remove (or replace) automatic index generation should
you want to."

However, on a CentOS 7.6 install of httpd 2.4.6-90.el7 just the loading of
mod_autoindex and the enabling of Options +Indexes on the location of interest
was not sufficient to generate an automatic index.  Only when I ALSO enabled
mod_dir did the autoindexes start being returned.  I neutered mod_dir with a
DirectoryIndex disabled directive to leave me with just auto indexing, but
either the documentation should be corrected to indicate the dependence or
mod_autoindex has a bug.

The server in question was running only core, mpm_event, systemd, unixd and
authz_core.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64239] mod_autoindex does not work on its own

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64239

--- Comment #1 from Knute Johnson <gr...@585ranch.com> ---
I have a similar problem, running apache2 2.4.38 on a RaspberryPi computer
running RaspberyPi OS (Debian 10).  Both mod_dir and mod_autoindex are enabled.
 In apache2.conf Indexes are enabled for /var/www/.  The mods-enabled files are
included prior to this.  The only way to get an index from a subdirectory is to
add DirectoryIndex disabled.  Without that directive a 403 Forbidden is
returned if there is no index file in the directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org