This is a discussion on Apache 2.0.46 and 2.0.49 problem with large directory indexes within the Windows Web Servers forums, part of the Web Server and Related Forums category; I have been running Apache 2.0.46 for a long time, but recently noticed a problem with directory indexes. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have been running Apache 2.0.46 for a long time, but recently noticed a
problem with directory indexes. This behavior was seen with Internet Explorer 6 (and with telnet); I don't have the ability to try other browsers. The problem is this: some directories index, link, display, etc. all normal. Other directories do not work. It appears to be that the directories with a larger number of files (over 90-ish?) are the problem. When viewing these problem directories Internet Explorer gives: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. -------------------------------------------------------------------------------- Please try the following: Click the Refresh button, or try again later..... etc. To further debug the problem, I tried telneting directly to my web server, typing in: GET /baby/2004-03%20(Mar)/ HTTP/1.1 <enter> and the results were: BEGIN CUT N PASTE HTTP/1.1 200 OK Date: Fri, 09 Apr 2004 17:54:04 GMT Server: Apache/2.0.49 (Win32) Connection: close Content-Type: text/html;charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Ind ex of /baby/2004-03 (Mar)</title> </head> <body> <h1>Index of /baby/2004-03 (Mar) </h1> <pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">S ize</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[ DIR]"> <a href="/baby/">Parent Directory</a> - <im g src="/icons/image2.gif" alt="[IMG]"> <a href="IMG_1098.JPG">IMG_1098.JPG</a> 02-Mar-2004 21:11 64K ..... YADA YADA YADA .... <a href="IMG_1323.JPG">IMG_1323.JPG</a> 03-Apr-2004 17:27 144K <img src="/icons/image2.gif" alt="[IMG]"> <a href="IMG_1326.JPG">IMG_1326.JPG </a> 03-Apr-2004 17:27 157 Connection to host lost. END CUT N PASTE So you can see from the abnormal termination of the HTML, the socket connection is being cut off before the entire index is sent. I cannot venture a guess as to why this might be. You can experience the problem for yourself at: http://ddubois.bounceme.net/baby/ I tried uninstalling 2.0.46 and reinstalling with version 2.0.49, but there was no change in behavior at all. I also tried doing some goggle searches, and tried poking around the apache.org site, but I could not find anyone referring to this problem anything similar. I have no idea what to do now, please help. Thanks, Dan |
|
|||
|
"Daniel DuBois" <ddubois@pobox.com> wrote in message
news:85pd70h1shu86f3rp5jq9v6im2v44ctlt3@4ax.com... > I have been running Apache 2.0.46 for a long time, but recently noticed a > problem with directory indexes. This behavior was seen with Internet > Explorer 6 (and with telnet); I don't have the ability to try other > browsers. The problem is this: some directories index, link, display, etc. > all normal. Other directories do not work. It appears to be that the > directories with a larger number of files (over 90-ish?) are the problem. > When viewing these problem directories Internet Explorer gives: > The page cannot be displayed > The page you are looking for is currently unavailable. The Web site might > be experiencing technical difficulties, or you may need to adjust your > browser settings. > [snip] That is a weird problem. It is definitely an IE issue because Foxfire list that all with no problems. I'm not sure what is going on, but as a work around I'd use the "SuppressIcon" option in the IndexOptions line. I don't like the icons anyways. In fact, this is the options I use: IndexOptions FancyIndexing FoldersFirst SuppressDescription SuppressIcon NameWidth=* I think they look cleaner that way. Rach |
|
|||
|
On Fri, 9 Apr 2004 12:57:23 -0700, "rach" <duzfaq64@dslextreme.com> wrote:
>That is a weird problem. It is definitely an IE issue because Foxfire list I can't disagree with this statement if it worked in Foxfire (which I assume is another browser), but the problem was visible when I telnetted directly into the port. >IndexOptions FancyIndexing FoldersFirst SuppressDescription SuppressIcon >NameWidth=* This indeed did fix, or at the very least mask, the problem. I send you my mother's thanks. ----- Daniel DuBois (808) 486-2940 ddubois@pobox.com |
|
|||
|
Daniel DuBois <ddubois@pobox.com> wrote in message news:<85pd70h1shu86f3rp5jq9v6im2v44ctlt3@4ax.com>. ..
> I have been running Apache 2.0.46 for a long time, but recently noticed a > problem with directory indexes. This behavior was seen with Internet > Explorer 6 (and with telnet); I don't have the ability to try other > browsers. The problem is this: some directories index, link, display, etc. > all normal. Other directories do not work. It appears to be that the > directories with a larger number of files (over 90-ish?) are the problem. > When viewing these problem directories Internet Explorer gives: > The page cannot be displayed This looks alot like the following bug-report: http://issues.apache.org/bugzilla/show_bug.cgi?id=9512 which tells you to read this: http://www.apache.org/dist/httpd/binaries/win32/#xpbug Joshua. |