Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ApacheGallery] Apachegallery on Debian
On Thu, 17 Jun 2004, Dmitri Ryjikh wrote:
> <VirtualHost IPaddress_apache_is_listening_on> (of course substitute
> it by the actual IP)
<VirtualHost *> is actually perfectly legal.
> LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
It isn't necessary to comment out the above either.
Below is an example of a properly configured Apache::Gallery setup in
Debian:[1]
Alias /icons/gallery/ "/usr/share/libapache-gallery-perl/templates/icons/"
<Directory "/usr/share/libapache-gallery-perl/templates/icons/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *>
ServerName gallery.donarmstrong.com
DocumentRoot /home/httpd/html/pictures/
<Location />
SetHandler perl-script
PerlHandler Apache::Gallery
PerlSetVar GalleryTemplateDir '/usr/share/libapache-gallery-perl/templates/new/'
PerlSetVar GalleryThumbnailSize '200x150'
PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
PerlSetVar GallerySizes '640 1024 1600 2400'
PerlSetVar GalleryCacheDir '/exports/gallery_temp_dir/donarmstrong'
PerlSetVar GalleryAutoRotate 'f'
PerlSetVar GalleryAllowOriginal '1'
PerlSetVar GalleryThumbnailSizeLS '1'
</Location>
</VirtualHost>
Don Armstrong
1: Copied straight out of the config for gallery.donarmstrong.com
--
A people living under the perpetual menace of war and invasion is very
easy to govern. It demands no social reforms. It does not haggle
over expenditures on armaments and military equipment. It pays
without discussion, it ruins itself, and that is an excellent thing
for the syndicates of financiers and manufacturers for whom patriotic
terrors are an abundant source of gain.
-- Anatole France
http://www.donarmstrong.com
http://rzlab.ucr.edu
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers