Jeff Abrahamson on Sun, 29 Dec 2002 22:40:09 -0500


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

Re: [PLUG] serving mp3's and ogg's


On Sat, Dec 28, 2002 at 07:07:39PM -0500, gabriel rosenkoetter wrote:
> On Sat, Dec 28, 2002 at 06:45:44PM -0500, Jeff Abrahamson wrote:
> > Question 1: any thoughts why this is an error? It's kinda just copied
> > from the man page, but copying from the man page worked last time.
> 
> Really just a thought, with no experience backing it... are you
> loading mod_perl?

No, it was commented out. Good idea...

So I add the following to httpd.conf:

    <Location /music/>
       SetHandler perl-script
       PerlHandler Apache::MP3::Playlist
    #   PerlSetVar CacheDir /tmp/mp3_cache
    #   PerlSetVar BaseDir /home/mp3
    </Location>

When I access <http://localhost/music>, I see the following in my
logs:

[<date>] [error] [client 127.0.0.1] File does not exist: /var/www/music
127.0.0.1 - - [<date>] "GET /music HTTP/1.0" 404 199

I think I've looked at everything under the sun, but no luck. Any idea
what I might be doing wrong? I would expect Apache::MP3::Playlist to
take over from there. (It is installed.) That is, I would expect
either success or a different error, not a file not found error.

I've played around with trailing slash or no in both config and
request. Doesn't seem to matter.

Tia.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: pgpFLoocmNn4i.pgp
Description: PGP signature