I'm switching over from Subsonic to Ampache 3.8.2. I've got the web interface up and running, added my catalog and can play music in the browser.
url.rewrite-if-not-file += (
"^/ampache/(.*)\.(css|js|jpg|png|gif)$" => "/ampache/$0",
"^/ampache/rest/(.+)\.view$" => "/ampache/rest/index.php?ssaction=$1",
"^/ampache/rest/fake/(.+)$" => "/ampache/play/$1",
"^/ampache/play/art/([^/]+)/([^/]+)/([0-9]+)/thumb([0-9]*)\.([a-z]+)$" => "/ampache/image.php?object_type=$2&object_id=$3&auth=$1&th
umb=$4&name=art.jpg",
"^/ampache/play/([^/]+)/([^/]+)/([^/]+)/([^/]+)(/.*)?$" => "/ampache/play/$5?$1=$2&$3=$4",
"^/ampache/play/([^/]+)/([^/]+)(/.*)?$" => "/ampache/play/$3?$1=$2",
"^/ampache/play(/[^/]+|[^/]+/|/?)$" => "/ampache/play/index.php",
"^/ampache/channel/([0-9]+)/(.*)$" => "/ampache/channel/index.php?channel=$1&target=$2"
)
web_path = http://nanners/ampache
In https://github.com/ampache/ampache/wiki/API I see some different rewrites for lighttpd. I don't have that one in my config yet. Should I replace the similar one from above with the one below or use both?
url.rewrite-once = (
"^/rest/(([^\?]+)\.view)(\?(.*))?" => "/rest/index.php?ssaction=$2&$4"
)
http://nanners/ampache/rest/ping.view brings back the correct response, but I get an error when I try test connection in DSub.