Mail Index


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

RE: [ApacheGallery] .cache vs GalleryCacheDir in v0.7



I had a similar problem. Check earlier postings from me. It turned out to be
some up2date from redhat that I installed pertaining to glibc. RH released
another fix a week or two later, and it fixed it. I tried everything,
changing permissions, etc.

pad 

-----Original Message-----
From: Dallas Engelken [mailto:dallas@xxxxxxxxxxxx] 
Sent: Friday, December 19, 2003 5:06 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [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 67.67.32.129] File does not
exist: /disk1/pics/2003-09/2003-09-10/.cache, referer: 
http://redhat.kicks-ass.net:8000/2003-09/2003-09-10/P1010006.JPG

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 67.67.32.129] File does not
exist: /disk1/pics/2003-11/2003-11-01/.cache/640x480-P1010038.JPG,
referer: http://redhat.kicks-ass.net:8000/2003-11/2003-11-01/P1010038.JPG

as you can see, nothing gets wrote to that directory....

[root@bigred 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

[root@bigred conf]# ls -la
/var/tmp/Apache-Gallery/www.engelken.net/2003-11/2003-11-01/640*
-rw-r--r--    1 apache   apache      63793 Dec 19 15:54 
/var/tmp/Apache-Gallery/www.engelken.net/2003-11/2003-11-01/640x480-P1010038
.JPG 


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???

Thanks,
Dallas



_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers