Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 76529 invoked by uid 500); 21 Apr 2003 19:42:09 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 76509 invoked from network); 21 Apr 2003 19:42:09 -0000 Received: from rrcs-sw-24-242-147-234.biz.rr.com (HELO thewolfden.org) (24.242.147.234) by daedalus.apache.org with SMTP; 21 Apr 2003 19:42:09 -0000 Received: from kinky.thewolfden.org ([192.168.1.5] helo=thewolfden.org ident=www-data) by thewolfden.org with smtp (Exim 3.35 #1 (Debian)) id 197hB1-00063Z-00; Mon, 21 Apr 2003 14:42:07 -0500 Received: from proxyle02.ext.ti.com ([192.91.75.30]) (SquirrelMail authenticated user cwolf) by www.thewolfden.org with HTTP; Mon, 21 Apr 2003 14:42:07 -0500 (CDT) Message-ID: <34221.192.91.75.30.1050954127.squirrel@www.thewolfden.org> Date: Mon, 21 Apr 2003 14:42:07 -0500 (CDT) From: "Christopher Wolf" To: In-Reply-To: References: <41563.192.91.75.30.1050952109.squirrel@www.thewolfden.org> X-Priority: 3 Importance: Normal Cc: Reply-To: temp7@thewolfden.org X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MailVirusScanner: Found to be clean, no viruses X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] AddIcon for icons within the listed directory during FancyIndexing Joshua Slive said: >On Mon, 21 Apr 2003, Christopher Wolf wrote: >> Is there a method, during FancyIndexing, to specify that the icon to >> display for each directory is stored within that directory? [Such as >> the folder.jpg icons used by WinXP.] >> >> I could not find a way to generate a reference to each directory in >> the AddIcon methods, such as "AddIcon $DIRECTORY/folder.jpg >> ^^DIRECTORY^^" > > Have you tried just AddIcon folder.jpg ^^DIRECTORY^^ Yes, that does not work, because that filename is a relative filename, and its relative to the current directory, not the individual subdirectories. Given ... /www/folder.jpg /www/dir1/folder.jpg /www/dir2/folder.jpg /www/dir2/subdir/folder.jpg ... when viewing the /www directory, the /www/folder.jpg will be used as the icon for BOTH the /www/dir1 and /www/dir2 listings since folder.jpg is relative to the "current" directory, which is just /www Likewise, when viewing the /www/dir2 directory, the /www/dir2/folder.jpg icon will be used as the icon for /www/dir2/subdir instead of the /www/dir2/subdir/folder.jpg icon that it "should" be using. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org