Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ApacheGallery] Apachegallery on Debian



Well...Back from holiday, and and with the aid of your hints, I have
almost got my apache gallery at gallery.superskurk.dk running.
Only thing that isnt working, is the icons for gallery.
Icons are placed here:
:~# ls -all /usr/share/libapache-gallery-perl/icons
total 84
drwxr-xr-x    2 www-data www-data     4096 Jun 17 23:21 .
drwxr-xr-x    4 root     root         4096 Jun 17 23:22 ..
-rwxr--r--    1 www-data www-data     2946 May 24  2003 agfolder.png
-rwxr--r--    1 www-data www-data     3592 May 24  2003
application-doc.png
-rwxr--r--    1 www-data www-data     3541 May 24  2003
application-pdf.png
-rwxr--r--    1 www-data www-data     3391 May 24  2003
application-rtf.png
-rwxr--r--    1 www-data www-data     1829 May 24  2003 c.png
-rwxr--r--    1 www-data www-data     3902 Mar  6 22:47 sound-mp3.png
-rwxr--r--    1 www-data www-data     4063 Mar  6 22:47 sound-ogg.png
-rwxr--r--    1 www-data www-data     3159 Mar  6 22:47 sound-wav.png
-rwxr--r--    1 www-data www-data     4309 May 24  2003 video-asf.png
-rwxr--r--    1 www-data www-data     4284 May 24  2003 video-avi.png
-rwxr--r--    1 www-data www-data     4330 May 24  2003 video-mov.png
-rwxr--r--    1 www-data www-data     4271 May 24  2003 video-mpeg.png
-rwxr--r--    1 www-data www-data     4271 May 24  2003 video-mpg.png
-rwxr--r--    1 www-data www-data     4009 May 24  2003 video-wmv.png

My httpd.conf looks like this:

Alias /icons/gallery /usr/share/libapache-gallery-perl/icons

 

<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

#        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> 

And the error in my apache-log is:
[error] [client 10.0.0.2] File does not exist:
/usr/share/apache/icons/gallery/agfolder.png

So I figure my Alias variable isnt working correctly in httpd.conf, but
why? 


-----Original Message-----
From: agusers-admin@xxxxxxxxxxxxxxxx
[mailto:agusers-admin@xxxxxxxxxxxxxxxx] On Behalf Of Thomas L. Kjeldsen
Sent: 18. juni 2004 04:06
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [ApacheGallery] Apachegallery on Debian


Hi Soren,

Søren Bjørn-Andersen wrote:
> 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)
[..]
> 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?

"/icons/gallery/" is an Alias. If the alias points to an existing
directory you should simply place the icons inside it, but chances are
they're already in place.

You can read about the Alias directive here:
http://httpd.apache.org/docs/mod/mod_alias.html#alias


regards,
  Thomas
_______________________________________________
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.712 / Virus Database: 468 - Release Date: 27-06-2004
 


_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers