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/11/25 12:45:04 UTC

DO NOT REPLY [Bug 32388] New: - apache pcks up wrong indes fille

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=32388>.
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=32388

           Summary: apache pcks up wrong indes fille
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: mod_autoindex
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: martin@x509.at


In httpd.conf: 
DirectoryIndex index.html index.php
Autoindex is not allowed.

When there ist no index.html but i.e. in index.html.old and you type in your
browser http://www.yourserver.com, not index.php ist loaded - apache picks up
index.html.old.

Proof of concept:
bash-2.05b$ telnet www.wienerphilharmoniker.at 80
Trying 213.229.33.243...
Connected to www.wienerphilharmoniker.at.
Escape character is '^]'.
GET / HTTP/1.0
Host: www.wienerphilharmoniker.at

HTTP/1.1 200 OK
Date: Thu, 25 Nov 2004 11:00:29 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2
Content-Location: index.html.old
Vary: negotiate
TCN: choice
Last-Modified: Thu, 15 Apr 2004 13:43:30 GMT
ETag: "480009a-24d2-407e9182;41a5bb21"
Accept-Ranges: bytes
Content-Length: 9426
Connection: close
Content-Type: application/x-trash

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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