Mail Index

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

[ApacheGallery] .cache vs GalleryCacheDir in v0.7

I'm seeing File does not exist errors in my apache error_log, and they all reference a .cache directory in the current working directory that i'm loading pictures from... is this dir supposed to auto-create itself??? [Fri Dec 19 15:49:37 2003] [error] [client] File does not exist: /disk1/pics/2003-09/2003-09-10/.cache, referer:
i ran a chown -R apache.apache /disk1 and chmod -R 777 /disk1 just to
avoid permission problems, but that did not fix it.
i tried to manual create a .cache directory, and then i get

[Fri Dec 19 15:54:16 2003] [error] [client] File does not exist: /disk1/pics/2003-11/2003-11-01/.cache/640x480-P1010038.JPG, referer:
as you can see, nothing gets wrote to that directory....

[[email protected] conf]# ls -la /disk1/pics/2003-11/2003-11-01/.cache/
total 8
drwxrwxrwx    2 apache   apache       4096 Dec 19 13:20 .
drwxrwxrwx    3 apache   apache       4096 Dec 19 13:20 ..

however, the file it's looking for is in the GalleryCacheDir

[[email protected] conf]# ls -la /var/tmp/Apache-Gallery/* -rw-r--r-- 1 apache apache 63793 Dec 19 15:54 /var/tmp/Apache-Gallery/
So why does it cache everything to /var/tmp/Apache-Gallery but then look
for cached info in CWD/.cache/filename.JPG
I have one other problem that is probably related to my apache conf
setup. running redhat 8 and apache 2.0, i cant get CGI to pass
param()'s across when it references P1010038.JPG?width=800 -
param('width') should = 800, but it's undefined. it's like it doesnt
parse CGI params when the file name is .JPG? is there a rewrite rule or
something i'm missing???

users mailing list
[email protected]