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

Bug#215826: apache: does not send index.* files (per DirectoryIndex)




Attached are all the conf files. I stripped comments from them to make
them smaller. httpd.conf.old was created by the installer script recently,




On Wed, 15 Oct 2003, Fabio Massimo Di Nitto wrote:

>
> Hi Dave,
> 	i cannot reproduce this problem so i need to check your
> configuration files. Can you kindly mail them to me?? Of course feel free
> to strip any sensible data but try to keep it as more complete as
> possible.
>
> Thanks
> Fabio
>
> On Tue, 14 Oct 2003, David M. Dowdle wrote:
>
> > Package: apache
> > Version: 1.3.28-4
> > Severity: grave
> > Justification: renders package unusable
> >
> > newest version does not listen to DirectoryIndex index.html index.shtml
> > (in srm.conf)
> >
> > it only shows the directory contents (by dir_module )
> >
> >
> > -- System Information:
> > Debian Release: testing/unstable
> > Architecture: i386
> > Kernel: Linux clouded 2.4.21 #1 SMP Wed Jul 2 00:00:57 PDT 2003 i686
> > Locale: LANG=C, LC_CTYPE=C
> >
> > Versions of packages apache depends on:
> > ii  apache-common                 1.3.28-4   Support files for all Apache webse
> > ii  debconf                       1.3.15     Debian configuration management sy
> > ii  dpkg                          1.10.15    Package maintenance system for Deb
> > ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an
> > ii  libdb4.1                      4.1.25-9   Berkeley v4.1 Database Libraries [
> > ii  libexpat1                     1.95.6-6   XML parsing C library - runtime li
> > ii  libmagic1                     4.04-1     File type determination library us
> > ii  logrotate                     3.6.5-2    Log rotation utility
> > ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap
> > ii  perl [perl5]                  5.8.1-2    Larry Wall's Practical Extraction
> >
> > -- debconf information:
> >   apache/server-name: www.leopard.net
> >   apache/server-admin: root@leopard.net
> >   apache/init: true
> >   apache/document-root: /var/www
> > * apache/enable-suexec: true
> >   apache/server-port: 80
> >
> >
> >
> >
>
> --
> Our mission: make IPv6 the default IP protocol
> "We are on a mission from God" - Elwood Blues
>
> http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html
>
ServerType standalone

Port 80

HostnameLookups double

User www-data
Group www-data

ServerAdmin root@leopard.net

ServerRoot /etc/apache

BindAddress *

Include /etc/apache/modules.conf

ExtendedStatus on

ErrorLog /var/log/apache/error.log

LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog /var/log/apache/access.log common

CustomLog /var/log/apache/referer_log referer
CustomLog /var/log/apache/agent_log agent

CustomLog /var/log/apache/access_log combined

PidFile /var/run/apache.pid

LockFile /var/run/apache.lock

ServerName www.leopard.net

UseCanonicalName on

Timeout 300

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15

MinSpareServers 1
MaxSpareServers 10

StartServers 2

MaxClients 150

MaxRequestsPerChild 30

NameVirtualHost *

<VirtualHost *>
ServerName www.leopard.net
ServerAlias clouded.leopard.net localhost leopard.net clouded
DocumentRoot //var/www
</VirtualHost>

Attachment: httpd.conf.old
Description: application/trash

<Directory /var/www>

Options Indexes ExecCGI Includes FollowSymLinks

AllowOverride None
MetaDir .
MetaFiles ON

order allow,deny
allow from all

</Directory>

<Directory /usr/lib/cgi-bin>
AllowOverride None
Options all
</Directory>

<Location /server-status>
SetHandler server-status

order deny,allow
allow from all
</Location>

<Location /server-info>
SetHandler server-info

order deny,allow
allow from all
</Location>

<Location /cgi-bin/phf*>
deny from all
ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
</Location>

<Directory /usr/share/doc>
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
</Directory>

 <location /throttle-info>
 SetHandler throttle-info
 </location>

<DirectoryMatch ^/home/.*/public_html>
Options Indexes ExecCGI includes SymLinksIfOwnerMatch
AllowOverride None
</DirectoryMatch>

<Files .htaccess>
order allow,deny
deny from all
</Files>

<DirectoryMatch ^/home/.*/public_html/logs>
Options none
AllowOverride None
order deny,allow
deny from all
</DirectoryMatch>
DocumentRoot /var/www

UserDir public_html

DirectoryIndex index.html index.shtml index.htm welcome.html

FancyIndexing on

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif */core
AddIcon /icons/deb.gif .deb Debian

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif

ReadmeName README
HeaderName HEADER

AccessFileName .htaccess

DefaultType text/plain

AddEncoding x-compress Z
AddEncoding x-gzip gz

AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddLanguage da .da
AddLanguage it .it
AddLanguage es .es
AddLanguage br .br
AddLanguage jp .jp
AddLanguage dk .dk
AddLanguage pl .pl
AddLanguage kr .kr

LanguagePriority en fr de

Alias /icons/ /usr/share/apache/icons/
Alias /fortweyr	/home/ftw/public_html

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3-source .phps

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

AddType text/html .shtml
AddHandler server-parsed .shtml

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

Alias /doc/ /usr/share/doc/

# Autogenerated file - do not edit!
# This file is maintained by the apache package.
# To update it, run the command:
#    /usr/sbin/modules-config apache
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
LoadModule info_module /usr/lib/apache/1.3/mod_info.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so

Reply to: