Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ApacheGallery] Apachegallery on Debian
Thx for that...By combining below and the indcluded doc I almost have
apachegallery running now...The only thing that wont work are the icons
for the folders. My httpd.conf looks like this:
Alias /icons/gallery/ "/usr/share/libapache-gallery-perl/icons/" (this
is the folder on my system, and also the way it is stated in the
included doc)
<Directory "/usr/share/libapache-gallery-perl/icons/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *>
ServerName gallery.superskurk.dk
DocumentRoot /var/www/billeder/
# ErrorLog logs/gallery-error_log (apache couldn?t start with
the options, so as a quickfix I commented them out. Suppose I need to
create these folder by hand? )
# TransferLog logs/gallery-access_log
PerlSetVar GalleryTemplateDir
'/usr/share/libapache-gallery-perl/templates/default'
PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal,
Flash => Flash'
PerlSetVar GallerySizes '640 1024 1600 2272'
PerlSetVar GalleryThumbnailSize '100x75'
PerlSetVar GalleryCopyrightImage 'htdocs/c.png'
<Location />
SetHandler perl-script
PerlHandler Apache::Gallery
</Location>
</VirtualHost>
But where should the /icons/gallery/ folder be created? If I create it
in the DocumentRoot of the gallery, it shows up in the gallery as a
subfolder, so I suppose that?s wrong. Should it be created at the
topmost documentroot for my webserver (for me that would be /var/www)
or?
Thx again.
Soren
-----Original Message-----
From: agusers-admin@xxxxxxxxxxxxxxxx
[mailto:agusers-admin@xxxxxxxxxxxxxxxx] On Behalf Of Don Armstrong
Sent: 17. juni 2004 20:29
To: users@xxxxxxxxxxxxxxxx
Subject: 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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.705 / Virus Database: 461 - Release Date: 12-06-2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.705 / Virus Database: 461 - Release Date: 12-06-2004
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers