openbsd-ports/www/p5-Apache-Gallery/files/apache-gallery.conf
landry 689038080a Update to Apache::Gallery 1.0.2, 7 years after previous releases..
- huge cleanup of README, use PKG_DBDIR pkg_add -B to hint people how to
  properly install A::G and its deps in apache's chroot, instead of
manually copying the deps/modules.
- set EPOCH=0, since 1.0RC3 wasn't a proper version
- provide an apache-gallery.conf @sample in conf/modules.sample, as other
  www ports do, instead of a VHost to copy/paste
- add UNMESSAGE telling how to completely disable/remove A::G

ok ajacoutot@
2012-03-10 10:55:27 +00:00

17 lines
656 B
Plaintext

Alias /icons/gallery/ "${TRUEPREFIX}/share/Apache-Gallery/icons/"
Alias /gallery.css "${TRUEPREFIX}/share/Apache-Gallery/templates/new/gallery.css"
<Location /gallery>
Options -Indexes
PerlSetVar GalleryCacheDir '/tmp/'
PerlSetVar GalleryTemplateDir '${TRUEPREFIX}/share/Apache-Gallery/templates/new/'
PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
PerlSetVar GallerySizes '640 1024'
PerlSetVar GalleryThumbnailSize '100x75'
# Note that you will want to change this.
PerlSetVar GalleryCopyrightImage '${TRUEPREFIX}/share/Apache-Gallery/icons/c.png'
SetHandler perl-script
PerlHandler Apache::Gallery
</Location>