Mail Index


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

[ApacheGallery] Cant get i to work



I cant get it to work.
This is my configuration
in httpd.conf this was added.

<VirtualHost 192.168.2.2>
       ServerName   192.168.2.2
       DocumentRoot /var/www/gallery
       ErrorLog     /var/log/gallery-error_log
       TransferLog  /var/log/gallery-access_log
       PerlSetVar   GalleryTemplateDir '/var/www/templates'
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>



burken:/var/www# ls -l
total 16
drwxr-xr-x    2 root     root         4096 Feb 28 11:00 gallery
-rw-r--r--    1 root     root         4109 Feb 27 20:53 index.html
drwxr-sr-x    2 root     staff        4096 Feb 27 22:09 templates

burken:/var/www/gallery# ls -l
total 1088
-rw-r--r--    1 root     root          842 Jul 28  2002 gallery.css
-rw-r--r--    1 root     root      1104550 Feb 28 07:46 p2260331.jpg

burken:/var/www/templates# ls -l
total 76
-rw-r--r--    1 root     root          100 Jul 28  2002 directory.tpl
-rw-r--r--    1 root     root          182 Jul 28  2002 error.tpl
-rw-r--r--    1 root     root          358 Jul 28  2002 index.tpl
-rw-r--r--    1 root     root           17 Jul 28  2002 info.tpl
-rw-r--r--    1 root     root           65 Sep  8 20:31 interval.tpl
-rw-r--r--    1 root     root            9 Aug 20  2002 intervalactive.tpl
-rw-r--r--    1 root     root          221 Aug 20  2002 layout.tpl
-rw-r--r--    1 root     root          116 Jul 28  2002 movie.tpl
-rw-r--r--    1 root     root           91 Jul 28  2002 navpicture.tpl
-rw-r--r--    1 root     root          216 Sep 11 22:08 nopictureinfo.tpl
-rw-r--r--    1 root     root           38 Jul 28  2002 orig.tpl
-rw-r--r--    1 root     root           64 Jul 28  2002 picture.tpl
-rw-r--r--    1 root     root          246 Sep 11 22:05 pictureinfo.tpl
-rw-r--r--    1 root     root           93 Sep  8 20:35 refresh.tpl
-rw-r--r--    1 root     root           43 Jul 28  2002 scale.tpl
-rw-r--r--    1 root     root            6 Aug 20  2002 scaleactive.tpl
-rw-r--r--    1 root     root          772 Sep 11 22:01 showpicture.tpl
-rw-r--r--    1 root     root            4 Aug 20  2002 slideshowisoff.tpl
-rw-r--r--    1 root     root           28 Aug 20  2002 slideshowoff.tpl

What should i write in the index.html file? Do i have to have the index.html file? Or is it anything else that is wrong?
/anton

_________________________________________________________________
Skaffa fler messengerkontakter - Vinn 10.000 i resecheckar! http://messenger.msn.se/promo