Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

apache puzzler...



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 <adler-wRvlPVLobi1/31tCrMuHxg at public.gmane.org> 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....
>
> [root at telacode conf.d]# more compiz.conf
> alias /compiz /telacode/base/www/compiz
> <Directory /telacode/base/www/compiz>
> Options +Indexes
> </Directory>
> [root at telacode conf.d]#
>
>
> and the listing of the directory is this....
>
> [root at 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
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>



-- 
John Abreau / Executive Director, Boston Linux & Unix
AIM abreauj / JABBER jabr-iMZfmuK6BGBxLiRVyXs8+g at public.gmane.org / YAHOO abreauj / SKYPE zusa_it_mgr
Email jabr-mNDKBlG2WHs at public.gmane.org / 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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org