[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: release critical bug in apache2.2?

On Thu, Nov 02, 2006 at 09:50:09PM +0100, Bastian Venthur <venthur@debian.org> wrote:
> Mike Hommey wrote:
> >>> The default value for DirectoryIndex is index.html, which
> >>> obviously forgets index.php. But that doesn't mean index.php will be
> >>> readable as source. It only means that the auto index will be displayed
> >>> if no index.html is present and if allowed to.
> >> Is this upstreams default or our? I mean I just cannot imagine that
> >> apache ignores index.php files by default.
> > 
> > Upstream defaults to:
> > <IfModule dir_module>
> >     DirectoryIndex index.html
> > </IfModule>
> > 
> > PHP is shipped with upstream apache, so there is no reason that it
> > should support index.php files.
> Hmm interisting and very disturbing too, since most (if not all) web
> applications I've seen and used seem to silently require that index.php
> files are treated automatically like index.html files. Which seemd to be
> true for pre-2.2 apache versions.

There has never been index.php in the DirectoryIndex configuration from
apache. Adding it is part of the php installation procedure.


Reply to: