freebsd-ports/www/p5-Apache-Gallery/pkg-message
Edwin Groothuis 399c6ffddd New port: Apache::Gallery - mod_perl handler to create an image gallery
PR:		ports/44434
Submitted by:	Erwin Lansing <erwin@lansing.dk>
2003-01-16 03:12:21 +00:00

21 lines
949 B
Text

---------------------------------------------------------------------------------------
<VirtualHost 123.123.123.123>
ServerName gallery.yourdomain.org
DocumentRoot /data/pictures/
ErrorLog logs/gallery-error_log
TransferLog logs/gallery-access_log
PerlSetVar GalleryTemplateDir '%%PREFIX%%/share/Apache-Gallery/templates'
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 %%PREFIX%%/share/Apache-Gallery/css/gallery.css to your DocumentRoot
---------------------------------------------------------------------------------------