Web Servers on Unix and Linux - Weird problem with apache2 directory listing

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > June 2004 > Weird problem with apache2 directory listing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Weird problem with apache2 directory listing
John Smith

2004-06-11, 5:46 pm

Hello,

I've installed on my suse 9.1 the default apache2 using default configuration.
Now im just using it for directory listing on a public_html/,
i did mkdir Distributions/ and moved 3 iso here named:

-rw-r--r-- 1 test users 209289216 2004-06-02 00:33 4.8-RELEASE-i386-mini.iso
-rw-r--r-- 1 test users 216727552 2004-05-15 01:30 4.9-RELEASE-i386-mini.iso
-rw-r--r-- 1 test users 4126703616 2004-04-28 23:47 SuSE-9.1-ProDVD.iso


when i check trought browser the dir contents it show just:

Index of /~test/Distributions

Name Last modified Size Description

4.8-RELEASE-i386-mini.iso 02-Jun-2004 00:33 200M


Apache/2.0.49 (Linux/SuSE) Server at 10.0.0.1 Port 80


As you can see Suse and 4.9 release are missing then i tried to rename one of files like :

mv SuSE-9.1-ProDVD.iso SuSE9.1-ProDVD.iso

and a browser refresh now shows :
4.8-RELEASE-i386-mini.iso 02-Jun-2004 00:33 200M
4.9-RELEASE-i386-mini.iso 15-May-2004 01:30 207M

still missing the suse.

Any idea?
David Efflandt

2004-06-20, 11:13 pm

On Fri, 11 Jun 2004 09:27:14 GMT, John Smith <spam@null.it> wrote:
> Hello,
>
> I've installed on my suse 9.1 the default apache2 using default configuration.
> Now im just using it for directory listing on a public_html/,
> i did mkdir Distributions/ and moved 3 iso here named:
>
> -rw-r--r-- 1 test users 209289216 2004-06-02 00:33 4.8-RELEASE-i386-mini.iso
> -rw-r--r-- 1 test users 216727552 2004-05-15 01:30 4.9-RELEASE-i386-mini.iso
> -rw-r--r-- 1 test users 4126703616 2004-04-28 23:47 SuSE-9.1-ProDVD.iso
>
>
> when i check trought browser the dir contents it show just:
>
> Index of /~test/Distributions
>
> Name Last modified Size Description
>
> 4.8-RELEASE-i386-mini.iso 02-Jun-2004 00:33 200M
>
>
> Apache/2.0.49 (Linux/SuSE) Server at 10.0.0.1 Port 80


Linux systems used to have a 2 GB filesize limit. Maybe apache indexing
does not recognize files larger than 2 GB (or needs a special compile
option), and when that large file is sandwiched between others, the one(s)
after it in the dir listing do not show up. When you mv the large file to
same name, it likely creates a new dir entry after the others.

I don't know the solution, but do you have permission from SuSE to
distribute the 9.1 Pro DVD (and the bandwidth)? I just ftp installed SuSE
x86_64/9.1, but have not played with its apache yet and to not have any
files larger than 2 GB.

--
David Efflandt - All spam ignored http://www.de-srv.com/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com