##### Apache::Gallery configuration # # This is actually a virtual host definition with mod_perl directives # It might be a very good idea to disable mod_autoindex in apache[2].conf # # # ServerName localhost # DocumentRoot /var/www/localhost/htdocs/data/pictures/ # ErrorLog /var/log/gallery-error_log # TransferLog /var/log/gallery-access_log # # PerlSetVar GalleryTemplateDir '/var/www/localhost/Apache-Gallery/templates/default' # PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash' # PerlSetVar GallerySizes '640 1024 1600 2272' # PerlSetVar GalleryThumbnailSize '100x75' ## If you have a copyright overlay image set the location of it # PerlSetVar GalleryCopyrightImage 'htdocs/c.png' ## If you use Apache2 set the following "PerlOptions" too # PerlOptions +GlobalRequest # # SetHandler modperl # PerlResponseHandler Apache::Gallery # Options -Indexes # AllowOverride AuthConfig # Order deny,allow # Allow from all # # ## Allow access to cache # # Options -ALL # AllowOverride None # Order deny,allow # Allow from all # ## Give Apache an idea of where to find icons and css # Alias /icons /var/www/localhost/icons # Alias /gallery.css /var/www/localhost/Apache-Gallery/templates/default/gallery.css #