Mail Index


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

Re: Fw: [ApacheGallery] Apache::Gallery without VirtualHost



----- Original Message -----
From: "Michael Legart" <michael@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Monday, October 04, 2004 8:15 PM
Subject: Re: Fw: [ApacheGallery] Apache::Gallery without VirtualHost


> On Mon, Oct 04, 2004 at 04:09:18PM +0200, Anders Kusk wrote:
> > ----- Original Message -----
> > From: "Christian Laursen" <xi@xxxxxxxxxxxxxxx>
> > To: <users@xxxxxxxxxxxxxxxx>
> > Sent: Monday, October 04, 2004 11:48 AM
> > Subject: Re: [ApacheGallery] Apache::Gallery without VirtualHost
> >
> > Okay this is what I have tried so far:
> > (Apache/2.0.51)
> > (Newest version of Apache::Gallery)
> >
> > <Location /home/a/htdocs/billeder>
>
> This will not work. It should be Directory if you use it like this.
>
> Location if you write e.g. <Location /~a/billeder/>
>
> >         PerlSetVar      GalleryTemplateDir
'/etc/apache/gallery/templates'
> >         PerlSetVar      GalleryInfo 'a.impsoft.dk'
> >         PerlSetVar      GallerySizes '640 1024 1600'
> >         PerlSetVar      GalleryThumbnailSize '100x75'
> >         PerlOptions +GlobalRequest
> >         SetHandler modperl
> >         PerlResponseHandler Apache::Gallery
> > </Location>
> >

Okay, tried with a fresh installation, this time:
Debian
Apache/1.3.31
Perl 5.8.4-2.2
modperl 1.29
Apache::gallery 0.9.1

Then the following configurations in

<Directory /var/www/billeder>
        PerlSetVar              GalleryTemplateDir
'/usr/share/libapache-gallery-perl/templates'
        PerlSetVar              GalleryInfo     'Picture Taken =>
DateTimeOriginal, Flash=> Flash'
        PerlSetVar              GallerySizes '640 1024 1600'
        PerlSetVar              GalleryThumbnailSize    '100x75'
        SetHandler              perl-script
        PerlHandler             Apache::Gallery
</Directory>

This just gives med a blank html page( http://a.impsoft.dk/billeder/ )
The log says:
212.242.219.120 - - [05/Oct/2004:14:42:23 +0200] "GET /billeder HTTP/1.1"
200 0 "-"

I have also tried with <Location /billeder> instead of <Directory>, but that
gave
the same result.

An hello-world script in perl at /perl/ works perfectly.

So is this an common error caused by me, or is there a way to test if perl
can use Apache::Gallery?

> > _______________________________________________
> > users mailing list
> > users@xxxxxxxxxxxxxxxx
> > http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers
> --
> hestdesign.info - we put the hest in .com
> _______________________________________________
> users mailing list
> users@xxxxxxxxxxxxxxxx
> http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers

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