Mail Index

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

Re: [ApacheGallery] .cache and jpegs problem

[Message delayed and later resent due to issues with list moderation
that should be hopefully resolved]

On Wed, Apr 07, 2004 at 11:45:54AM -0600, Tony Scott wrote:
> File does not exist: /var/www/data/pictures/.cache

apache2 or apache1?

I have looked into this but haven't created a patch. I believe the
problem has to do with where AG jumps into the apache request cycle.
It is currently a PerlHandler, which I think makes it a
PerlResponseHandler. It seems that when AG changes the file path here
from /var/www/data/pictures/.cache generated by the default path
translation to /var/tmp/ApacheGallery/... some structure in apache is
not updated. I made these errors go away by changing AG to be a 
PerlTransHandler in apache2. Such a change could also perhaps improve
performance because apache2 can directly serve the .cache files to the
client and handle If-Modified-Since requests, which AG ignored last time
I checked. With a bit of encouragement I could try to make a patch as
a demonstration of what I mean but it is unlikely to be releasable.

I am also interested in AG generating each .cache thumbnail image when
the image is requested because I sometimes directly link to a .cache
file and don't want to have to worry about going to index page to
generate the thumbnail. Thoughts?


28 70 20 71 2C 65 29 61 9C B1 36 3D D4 69 CE 62 4A 22 8B 0E DC 3E
mailto:[email protected]
users mailing list
[email protected]