freebsd-ports/www/p5-Apache-Gallery/pkg-message
Philip Paeps 3045d29cc6 Update to 1.0RC2. While here, fix a couple of outstanding annoyances:
o Use the ${DATADIR} variable instead of hardcoding share/Apache-Gallery
   for the data-files that need to be installed under there.

 o Also use %%DATADIR%% instead of hardcoding share/Apache-Gallery in the
   pkg-plist.  Never try to remove www/icons itself, which should be done
   by the Apache port.

 o Install both the 'default' and the 'new' template directories, leaving
   the css files with the templates instead of moving them into a css/
   subdirectory.

 o Put the icons under www/icons/gallery, removing the need for the patch
   to the template files, also makes them easier to move around if people
   like doing that sort of thing.

Approved by:	krion (mentor) kvs@pil.dk (maintainer)
2005-07-19 20:39:37 +00:00

22 lines
931 B
Plaintext

---------------------------------------------------------------------------------------
<VirtualHost 123.123.123.123>
ServerName gallery.yourdomain.org
DocumentRoot /data/pictures/
ErrorLog logs/gallery-error_log
TransferLog logs/gallery-access_log
PerlSetVar GalleryTemplateDir '%%DATADIR%%/templates/default'
PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
PerlSetVar GallerySizes '640 1024 1600 2272'
PerlSetVar GalleryThumbnailSize '100x75'
PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
<Location />
SetHandler perl-script
PerlHandler Apache::Gallery
</Location>
</VirtualHost>
And copy %%DATADIR%%/templates/default/gallery.css to your DocumentRoot
---------------------------------------------------------------------------------------