You are here: Home » Reply

Reply To: Web-based DAAP client

#3394

w1ll14m
Participant

@rpedde wrote:

@larrypevin wrote:

Is there any way I can use this applet from a network machine without setting or using a remote admin password? I am sure it would be possible to modify the server to allow anonymous access to applet.html, but I am not a programmer so I wouldn’t know how to do this myself.

Not right now without code changes. I intend that there be a user accessible way to browse, play, and download remote music on a server, but I’m not there yet.

You can use a rewrite rule to do this:)
just download DAAPApplet-0-1.jar and applet.html

use this piece of code for your apache2 config



Servername daap.schoorl.nu
ServerAdmin [email protected]
DocumentRoot /usr/local/www/daap
RewriteEngine On
RewriteRule ^/login(.*)$ http://192.168.0.5:8080/login [P]
RewriteRule ^/logout(.*)$ http://192.168.0.5:8080/logout$1 [P]
RewriteRule ^/databases(.*)$ http://192.168.0.5:8080/databases$1 [P]
RewriteRule ^/server-info(.*)$ http://192.168.0.5:8080/server-info$1 [P]
RewriteRule ^/update(.*)$ http://192.168.0.5:8080/update$1 [P]
RewriteRule ^/1/(.*)$ http://192.168.0.5:8080/1/$1 [P]


AuthType Basic
AuthName "WebMusic Player"
AuthUserFile /usr/local/www/daap.htpasswd
Require valid-user