Skip Menu |

This queue is for tickets about the Apache-Gallery CPAN distribution.

Report information
The Basics
Id: 6164
Status: resolved
Priority: 0/
Queue: Apache-Gallery

People
Owner: Nobody in particular
Requestors: CFAERBER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Thu, 29 Apr 2004 15:56:08 +0200
From: Claus Färber <cfaerber [...] cpan.org>
To: "Apache::Gallery request tracker" <bugs-Apache-Gallery [...] rt.cpan.org>
Subject: Files matching both GalleryDocFile and GalleryImgFile
Hello, Apache::Gallery 0.8 (rev. 247) handles files that match both GalleryDocFile and GalleryImgFile as 'files', not 'images'. This is a problem if you want it to serve all files found in a directory, e.g. by setting the following configuration options: PerlSetVar "GalleryDocFile" '.*' PerlSetVar "GalleryImgFile" '\.(jpe?g|jpe|gif|png|tiff?|ppm)$' The patch attached solves that problem. Claus Färber -- http://www.faerber.muc.de/

Message body is not shown because sender requested not to inline it.

Thanks, applied. [CFAERBER - Thu Apr 29 09:55:53 2004]: Show quoted text
> Hello, > > Apache::Gallery 0.8 (rev. 247) handles files that match both > GalleryDocFile and GalleryImgFile as 'files', not 'images'. This is a > problem if you want it to serve all files found in a directory, e.g. > by > setting the following configuration options: > > PerlSetVar "GalleryDocFile" '.*' > PerlSetVar "GalleryImgFile" '\.(jpe?g|jpe|gif|png|tiff?|ppm)$' > > The patch attached solves that problem. > > Claus Färber