Mail Index


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

Re: [ApacheGallery] PerlSetvar error



On Fri, Feb 28, 2003 at 10:57:32AM +0100, Anton Häggström wrote:
> >From: "Oscar Buse" <[email protected]>
> >To: [email protected]
> >CC: [email protected]
> >Subject: Re: [ApacheGallery] PerlSetvar error
> >Date: Fri, 28 Feb 2003 10:14:13 +0100
> >
> >Hi <[email protected]>,
> >
> >On Fri, 28 Feb 2003, <[email protected]> wrote:
> >
> >> I edit the httpd.conf file and tries to restart apache then i get the 
> >error:
> >>
> >> Syntax error on line 1017 of /etc/apache/httpd.conf:
> >> PerlSetVar takes two arguments, Perl config var and value
> >
> >Would be handy if you give your PerlSetVar entry...
> >How are 'we' supposed to help you otherwise?
> >
> >--
> >Kind regards,
> >Oscar Buse.
> This is what i wrote in httpd.conf
> 
> <VirtualHost 192.168.2.2>
>        ServerName   192.168.2.2
>        DocumentRoot /var/www/
>        ErrorLog     logs/gallery-error_log
>        TransferLog  logs/gallery-access_log
>        PerlSetVar   GalleryTemplateDir         <-- Line 1017
> '/usr/local/apache/gallery/templates'

That line wrapped, move '/usr/local/apache/gallery/templates' up to the
line before

>        PerlSetVar   GalleryInfo 'Picture Taken => DateTimeOriginal,
> Flash => Flash'

Same here

>        PerlSetVar   GallerySizes '640 1024 1600 2272'
>        PerlSetVar   GalleryThumbnailSize '100x75'
>        PerlSetVar   GalleryCopyrightImage 'htdocs/c.png'
>        <Location />
>                SetHandler        perl-script
>                PerlHandler       Apache::Gallery
>        </Location>
> </VirtualHost>
> 
> /anton
> 
> 
> 
> _________________________________________________________________
> Skaffa fler messengerkontakter - Vinn 10.000 i resecheckar! 
> http://messenger.msn.se/promo
> 

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.