Apache::MP3::Skin and PerlSetVar

2001-11-28 Thread Patrick Buckingham

I just install Apache::MP3 and it works fine but if I try to use ::Skin
I get these messages for PerlSetVar

PerlSetvar takes two arguments Perl config var and value This does
this with ::Sortlist also. But with the straight MP3 modules I can use
PerlSetVar 

  SetHandler perl-script
PerlHandler Apache::MP3::Skin
PerlSetVar  CacheDir   /usr/tmp/mp3_cache
PerlSetVar  SortFieldsAlbum,Title,-Duration
PerlSetVar HomePath /sounds   # optional
PerlSetVar DefaultSkin default.tmpl   # required

This is the config


Thanks,

Patrick



Re: Apache::MP3::Skin and PerlSetVar

2001-11-28 Thread Jason Galea

Patrick Buckingham wrote:

 I just install Apache::MP3 and it works fine but if I try to use ::Skin
 I get these messages for PerlSetVar
 
 PerlSetvar takes two arguments Perl config var and value This does
 this with ::Sortlist also. But with the straight MP3 modules I can use
 PerlSetVar 
 
   SetHandler perl-script
   PerlHandler Apache::MP3::Skin
   PerlSetVar  CacheDir   /usr/tmp/mp3_cache
   PerlSetVar  SortFieldsAlbum,Title,-Duration
   PerlSetVar HomePath /sounds   # optional
   PerlSetVar DefaultSkin default.tmpl   # required
 
 This is the config
 
 
 Thanks,
 
   Patrick
 
 .
 
 


try taking out the comments, ie # optional  # required (or just 
move them to a separate line) - it's worked for me before.. I don't 
think PerlSetVar recognises the # as the start of a comment.



-- 
J
Web Developer

Eight Degrees Off Centre
http://www.eightdegrees.com.au/