Apache's built-in DirectoryIndex function treats the files README.txt, README.html, HEADER.txt, and HEADER.html as special. If there's a HEADER.txt or a HEADER.html in the directory, it will display that before the file listing. If there's a README.txt or README.html in the directory, it will display it after the file listing.
I'm just describing this from memory, so there could also be other magic filenames that I'm not remembering off the top of my head. On Sun, Dec 19, 2010 at 4:47 PM, Stephen Adler <[email protected]> wrote: > Guys, > > This is a weird one. I finished building compiz 0.9.2.1 and I wanted to > share my work with everyone. So I put a bunch of tar balls on my web > site. So I created and area on my web server, made it so that people and > see the area from the internet and put the tar ball files there and a > text file name README.txt. The weird thing is this. The .tar.gz files > show up, but not the README.txt file. I created a tarball with just the > README.txt called README.tar.gz but it does not show it. Can you guys > confirm this? > > http://telacode.com/compiz > > The directive gave the apache server is this.... > > [r...@telacode conf.d]# more compiz.conf > alias /compiz /telacode/base/www/compiz > <Directory /telacode/base/www/compiz> > Options +Indexes > </Directory> > [r...@telacode conf.d]# > > > and the listing of the directory is this.... > > [r...@telacode conf.d]# ls -la /telacode/base/www/compiz/ > total 68568 > drwxr-sr-x. 2 adler adler 4096 Dec 19 16:11 . > drwxrwsr-x. 11 softadmin apache 4096 Dec 19 16:04 .. > -rw-r--r--. 1 adler adler 30614241 Dec 19 16:06 > compiz-0.9.2.1-binary-fedora14.tar.gz > -rw-r--r--. 1 adler adler 29810986 Dec 19 16:06 > compiz-0.9.2.1-binary-rhel6.tar.gz > -rw-r--r--. 1 adler adler 9642339 Dec 19 16:06 compiz-0.9.2.1.tar.gz > -rw-r--r--. 1 adler adler 221 Dec 19 16:11 README.tar.gz > -rw-r--r--. 1 adler adler 106 Dec 19 16:08 README.txt > > so I'm clueless as to why the README.tar.gz and README.txt do show up. > It's got to be caching issue! But I've tried flushing my cache to no > avail.... > > Cheers. Steve. > > _______________________________________________ > Discuss mailing list > [email protected] > http://lists.blu.org/mailman/listinfo/discuss > -- John Abreau / Executive Director, Boston Linux & Unix AIM abreauj / JABBER [email protected] / YAHOO abreauj / SKYPE zusa_it_mgr Email [email protected] / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9 PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99 _______________________________________________ Discuss mailing list [email protected] http://lists.blu.org/mailman/listinfo/discuss
