Mail Index


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

Re: [ApacheGallery] PerlSetvar error



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

/anton



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