1 --- ./lib/Apache/Gallery.pm.org 2005-09-16 08:53:04.000000000 +0000
2 +++ ./lib/Apache/Gallery.pm 2006-04-26 20:03:10.000000000 +0000
5 unless ($r->dir_config('GalleryCacheDir')) {
7 - $cache_root = '/var/tmp/Apache-Gallery/';
8 + $cache_root = '/var/cache/Apache-Gallery/';
9 if ($r->server->is_virtual) {
10 $cache_root = File::Spec->catdir($cache_root, $r->server->server_hostname);
13 The options are set in the httpd.conf/.htaccess file using the syntax:
14 B<PerlSetVar OptionName 'value'>
16 -Example: B<PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'>
17 +Example: B<PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'>
22 =item B<GalleryCacheDir>
24 Directory where Apache::Gallery should create its cache with scaled
25 -pictures. The default is /var/tmp/Apache-Gallery/ . Here, a directory
26 +pictures. The default is /var/cache/Apache-Gallery/ . Here, a directory
27 for each virtualhost or location will be created automaticly. Make
28 sure your webserver has write access to the CacheDir.
30 --- ./README.org 2005-09-16 08:32:12.000000000 +0000
31 +++ ./README 2006-04-26 20:01:17.000000000 +0000
33 The options are set in the httpd.conf/.htaccess file using the syntax:
34 PerlSetVar OptionName 'value'
36 - Example: PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
37 + Example: PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'
40 Some cameras, like the Canon G3, can detect the orientation of a the
44 Directory where Apache::Gallery should create its cache with scaled
45 - pictures. The default is /var/tmp/Apache-Gallery/ . Here, a
46 + pictures. The default is /var/cache/Apache-Gallery/ . Here, a
47 directory for each virtualhost or location will be created
48 automaticly. Make sure your webserver has write access to the
50 --- ./UPGRADE.org 2005-06-07 07:50:54.000000000 +0000
51 +++ ./UPGRADE 2006-04-26 20:01:51.000000000 +0000
53 directory (usually /tmp)
54 Since 0.5, your .cache subdirectories are no longer used and can be
55 safely deleted. All cached images are now kept in
56 -/var/tmp/Apache-Gallery/ unless you set GalleryCacheDir.
57 +/var/cache/Apache-Gallery/ unless you set GalleryCacheDir.
59 For users upgrading from 0.4 to 0.5
63 A new option has been added:
65 -PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
66 +PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'
68 GalleryCacheDir is optional but you can use it to decide
69 where Apache::Gallery should place the scaled pictures.