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 2004/04/11 20:25:48 UTC

DO NOT REPLY [Bug 28338] New: - Seems to be a hardcoded -Indexes somewhere

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28338>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28338

Seems to be a hardcoded -Indexes somewhere

           Summary: Seems to be a hardcoded -Indexes somewhere
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_autoindex
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: name@spam.la


[root@pong apache2]# pwd
/home/local/apache2
[root@pong apache2]# ldd bin/httpd
        libaprutil-0.so.0 => /usr/local/apache2/lib/libaprutil-0.so.0 
(0x00434000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x00b44000)
        libdb-4.1.so => /lib/tls/libdb-4.1.so (0x00c87000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00ee6000)
        libapr-0.so.0 => /usr/local/apache2/lib/libapr-0.so.0 (0x00925000)
        librt.so.1 => /lib/tls/librt.so.1 (0x008ba000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00f4b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00a5c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x0012c000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00fe8000)
        libdl.so.2 => /lib/libdl.so.2 (0x00e61000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00638000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00fa2000)
[root@pong apache2]# bin/httpd -v
Server version: Apache/2.0.49
Server built:   Apr 11 2004 20:41:48
[root@pong apache2]# grep -i "\-index" conf/*
[root@pong apache2]# tail -5 logs/photo-error_log
[Sun Apr 11 21:04:43 2004] [error] [client 192.168.200.220] Directory index 
forbidden by rule: /var/www/photo/
[Sun Apr 11 21:04:43 2004] [error] [client 192.168.200.220] Directory index 
forbidden by rule: /var/www/photo/
[Sun Apr 11 21:04:43 2004] [error] [client 192.168.200.220] Directory index 
forbidden by rule: /var/www/photo/
[Sun Apr 11 21:04:44 2004] [error] [client 192.168.200.220] Directory index 
forbidden by rule: /var/www/photo/
[Sun Apr 11 21:04:44 2004] [error] [client 192.168.200.220] Directory index 
forbidden by rule: /var/www/photo/
[root@pong apache2]# tail -13 conf/httpd.conf | head -6
<Directory "/var/www/photo">
        Options +Indexes Includes FollowSymLinks
        AllowOverride FileInfo AuthConfig
        Order allow,deny
        Allow from all
</Directory>
[root@pong apache2]#

!!!!!!
I have nowhere a '-Indexes' or 'None' options. I have a explicite '+Indexes' in 
my directory and it don't work. autoindex module was compiled built-in.
If I add:
<LocationMatch "^/+$">
    Options Indexes
</LocationMatch>
it seems to become OK, but I don't like this artifice
!!!!!!

Aditional info:
[root@pong apache2]# bin/httpd -V
Server version: Apache/2.0.49
Server built:   Apr 11 2004 20:41:48
Server's Module Magic Number: 20020903:7
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[root@pong apache2]# bin/httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c
[root@pong apache2]#

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org