{"action":"created","issue":{"url":"https://api.github.com/repos/ampache/ampache/issues/709","labels_url":"https://api.github.com/repos/ampache/ampache/issues/709/labels{/name}","comments_url":"https://api.github.com/repos/ampache/ampache/issues/709/comments","events_url":"https://api.github.com/repos/ampache/ampache/issues/709/events","html_url":"https://github.com/ampache/ampache/issues/709","id":56331958,"number":709,"title":"lighttpd rewrite rule for Subsonic API","user":{"login":"jaquer","id":118391,"avatar_url":"https://avatars.githubusercontent.com/u/118391?v=3","gravatar_id":"","url":"https://api.github.com/users/jaquer","html_url":"https://github.com/jaquer","followers_url":"https://api.github.com/users/jaquer/followers","following_url":"https://api.github.com/users/jaquer/following{/other_user}","gists_url":"https://api.github.com/users/jaquer/gists{/gist_id}","starred_url":"https://api.github.com/users/jaquer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaquer/subscriptions","organizations_url":"https://api.github.com/users/jaquer/orgs","repos_url":"https://api.github.com/users/jaquer/repos","events_url":"https://api.github.com/users/jaquer/events{/privacy}","received_events_url":"https://api.github.com/users/jaquer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-03T04:18:02Z","updated_at":"2015-05-30T05:52:48Z","closed_at":null,"body":"Took me a bit to figure out the rewrite rule for the Subsonic API when using lighttpd. Here it is, in case you'd like to add it to the wiki:\r\n\r\nfor an installation on the root:\r\n\r\n    url.rewrite-once = (\r\n      \"^/rest/(([^\\?]+)\\.view)(\\?(.*))?\" => \"/rest/index.php?ssaction=$2&$4\"\r\n    )\r\n\r\nModify as needed for subdir installs.\r\n\r\n    url.rewrite-once = (\r\n      \"^/ampache/rest/(([^\\?]+)\\.view)(\\?(.*))?\" => \"/ampache/rest/index.php?ssaction=$2&$4\"\r\n    )\r\n\r\nmod_rewrite must be enabled in order for the rule to work.\r\n"},"comment":{"url":"https://api.github.com/repos/ampache/ampache/issues/comments/106992519","html_url":"https://github.com/ampache/ampache/issues/709#issuecomment-106992519","issue_url":"https://api.github.com/repos/ampache/ampache/issues/709","id":106992519,"user":{"login":"Afterster","id":2251352,"avatar_url":"https://avatars.githubusercontent.com/u/2251352?v=3","gravatar_id":"","url":"https://api.github.com/users/Afterster","html_url":"https://github.com/Afterster","followers_url":"https://api.github.com/users/Afterster/followers","following_url":"https://api.github.com/users/Afterster/following{/other_user}","gists_url":"https://api.github.com/users/Afterster/gists{/gist_id}","starred_url":"https://api.github.com/users/Afterster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Afterster/subscriptions","organizations_url":"https://api.github.com/users/Afterster/orgs","repos_url":"https://api.github.com/users/Afterster/repos","events_url":"https://api.github.com/users/Afterster/events{/privacy}","received_events_url":"https://api.github.com/users/Afterster/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T05:52:48Z","updated_at":"2015-05-30T05:52:48Z","body":"Ok thanks for the feedback smvueno.\r\nIt's unfortunate you had to do a workaround because Ampache installation on lighttpd server is not documented.\r\n@jaquer, any chance you can help us on this? Thank you."}}