Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Jean-Sebastien Morisset
    Guest

    Fixing INvalid Referer?

    Hi,

    I'm proxying SlimServer 5.4 on a Windows XP box through Apache 1.3.x on
    a Linux PC. Everything works fine, except when I try accessing the
    "Server Settings" (/setup.html). I get a "403 Forbidden" message. After
    turning on HTTP debugging, the SlimServer log file tells me:

    2005-02-14 10:32:03.6092 Accepted connection 4 from 10.1.1.2
    2005-02-14 10:32:03.6136 reading request...
    2005-02-14 10:32:03.6147 HTTP request: from 10.1.1.2 (HTTP:aemon::ClientConn=GLOB(0x4e8da84)) for GET HTTP/1.1 /setup.html?page=server&player=00%3A04%3A20%3A05%3A 8e%3A5c
    2005-02-14 10:32:03.6165 HTTP parameter page = server
    2005-02-14 10:32:03.6175 HTTP parameter player = 00:04:20:05:8e:5c
    2005-02-14 10:32:03.6194 Invalid referer: [GET /setup.html?page=server&player=00%3A04%3A20%3A05%3A 8e%3A5c]
    2005-02-14 10:32:03.6205 generating from html/errors/403.html

    Is there a way to control which referers are allowed? I currently
    access SlimServer from http://localhost:9000/ on the Windows XP box, and
    http://music.mvlan.net/ from other PCs on the LAN.

    Thanks,
    js.
    --
    Jean-Sebastien Morisset, Sr. UNIX Administrator <jsmoriss (AT) mvlan (DOT) net>
    Personal Home Page <http://jsmoriss.mvlan.net/>
    JS & Melanie's Homebrewery <http://brewery.mvlan.net/>
    Underwater and Travel Photographs <http://www.mvpix.com/>

  2. #2
    Bruce Tucker
    Guest

    PublicRadioFan Plugin

    I've been using the PublicRadioFanBrowser plugin, which accesses the great
    www.publicradiofan.com website that maintains a database of shows played on
    Public Radio Stations (and Sirius and XM radio). When you activate the
    plugin, it will allow you to select Music vs NonMusic, then list the shows
    available to play at the current time. The website itself shows the
    programs divided by genres but the plugin does not show genres for me but
    rather a list of shows followed by the genre in parentheses.

    While I don't program in PERL, scanning down the code I see references to
    genres that seem to point only to Music vs NonMusic. Can anyone who does
    code in perl take a look and tell me if this is correct? And if so, do you
    see any way to add Music Genres?

    Thanks,
    Bruce

    Here's a list of the Music Genres on Public Radio Fan:
    Blues music
    Classical music
    Country/bluegrass music
    Eclectic music
    Folk music
    Gospel Music
    Jazz music
    Latin music
    Live Music/Variety
    Native/ethnic music
    New Age Music
    Older popular music
    Pop/rock music
    R and b music
    World music

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •