View Full Version : Trying to serve 2 streams: 1 unsecured, 1 secured

Steve Pawsey-Bowerman
2004-01-01, 17:23
Mine is currently set-up to do this. However, you will need additional

I have the slimserver software running on my linux box and have apache
running on another server (Solaris), this server hosts my website and other
bits. I've created a virtual host which proxies requests to the slimserver.
As such, this gives me the following options:

1. Much better access control (since the apache server is internet facing),
IP lockdown, .htaccess, etc
2. All requests proxied through apache show up on the slimserver as a
different client, and hence I can 'fiddle' with the streaming settings
specifically for WAN streaming (thus leaving LAN streaming untouched).
3. Shields my slimserver from direct access from the web.

My slimserver software is set-up with password protection (rather than using
apache - just fancied it that way), but I NOT applied any IP restriction to
the slimserver, this is performed by apache.

There is no reason why this cannot be done on a single server with any
webserver software that will allow proxying.

I've not tried it, but I suppose if you want to be extra secure, then I'm
sure its possible to stream over SSL (https) also

All the best


-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Matt
Sent: 01 January 2004 00:02
To: discuss (AT) lists (DOT) slimdevices.com
Subject: [slim] Trying to serve 2 streams: 1 unsecured, 1 secured

I have my slimserver serving up tunes to me at work, and I have turned on
the login feature. But I would like to have this stream available on my
home LAN as well -- *without* the login in the stream URL.

However the password and allowed IP address features do not allow you to
satisfy *one of* password or IP. That's what I really want -- a way to
say, "do not ask 192.169.1/24 for a login even if one is configured."

Next I tried running a second instance of slimserver.pl, with a different
config file, so I could have a no-password server on port 9000, restricted
to my internal network only. But this doesn't work because you can't run 2
instances at once.

Can anyone suggest a workaround?

Thanks in advance!

BTW I am moving into a new house soon and I am looking forward to picking
up a couple of squeezeboxen. In the meantime, I am enjoying exploring
matt (AT) wrongcrowd (DOT) com