I was getting the right mime-type using the method that you described, Troy. It seems that old faithful Apache was perfoming well as usual. After thinking about your suggestion, I decided to look over the tcphp.org mailing list and I found a solution in php that goes a little like this: <?php header("Content-Type: application/force-download"); header("Content-Type: audio/x-scpls"); header("Content-Disposition: attachment; filename=listen.pls"); ?> It was just that Apache wasn't sending all the right kind of headers, so I just told php to do it. Thanks for the lead. I needed a little kickstart today. > Can you confirm you are getting > the wrong headers? Try: > > # telnet yourhost.yournet 80 > GET /yoururl/file.pls HTTP/1.0 > > (with two carriage returns after > the '.../1.0' part) and see what > headers say. Just trying to nail > it down to a server problem... > >>>> MarkCourtney at MarkCourtney.com 11/14/02 03:19PM >>> > I'm trying to get Apache to serve *.pls files the right way instead of > just serving them as plain text. > I've added the following line to the httpd.conf file: > AddType audio/x-scpls .pls > > And this line to /etc/mime.types > audio/mpegurl pls > > > I've restarted Apache and the *.pls files still get served as > text/plain. > Can someone please steer me in the right direction here? > How can I get Apache to serve the file with the right mime-type instead > of > just spitting out the text that is in the *.pls file? > > Thanks > > > > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, > Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, > Minnesota http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list