Mail Index


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

Re: [ApacheGallery] Problem with a freshly installed apache::gallery



Sorry Thomas!

Here is the change:

my $escape_rule = '^a-zA-Z0-9\/_\\.';
# my $escape_rule = '^a-zA-Z0-9/_\\.';

The difference is the escaped /. Without this change, my apache error log
reports:

[Wed Feb 27 14:40:43 2002] [error] uri_escape: [Wed Feb 27 14:40:43 2002]
(eval 159): /([^a-zA-Z0-9/: unmatched [] in regexp at (eval 159) line 1. at
/usr/lib/perl5/site_perl/5.6.0/Apache/Gallery.pm line 136

I have another question.
I see that on your site your software reports more details about the shot
and its exposure than mine does by default.

For example:
Model: Canon PowerShot G1
Picture Taken: 2002:02:08 22:52:54
Width: 2048
Height: 1536
ApertureValue: 64/32
BitsPerSample: 8 8 8
ColorComponents: Y 33 0 Cb 17 1 Cr 17 1 Y 33 0 Cb 17 1 Cr 17 1
ExposureTime: 1/13
ShutterSpeedValue: 118/32
FocalLength: 224/32
Flash: Yes

I can not seem to find documentation on the available options and how to
coerce Apache::Gallery into printing them. Am I looking in the wrong places?
:-)

Thanks!

Paul

----- Original Message -----
From: "Thomas Kjær" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 28, 2002 4:21 AM
Subject: Re: [ApacheGallery] Problem with a freshly installed
apache::gallery


Hi Paul!

On Wed, Feb 27, 2002 at 02:56:24PM -0500, Paul Vallee wrote:
> I have discovered the problem with the help of an old perl hacker friend.
> All is well with the following change:
>
> my $escape_rule = '^a-zA-Z0-9\/_\\.';
>
> instead of
>
> my $escape_rule = '^a-zA-Z0-9\/_\\.';
>
> in Gallery.pm.

If you wouldn't mind stating the supposed difference in those two lines,
I'd be glad to fix it in cvs. ;)

--
  Thomas Kjær <[email protected]>

---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: [email protected]





---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: [email protected]