{"action":"created","issue":{"url":"https://api.github.com/repos/fruux/Baikal/issues/612","repository_url":"https://api.github.com/repos/fruux/Baikal","labels_url":"https://api.github.com/repos/fruux/Baikal/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/fruux/Baikal/issues/612/comments","events_url":"https://api.github.com/repos/fruux/Baikal/issues/612/events","html_url":"https://github.com/fruux/Baikal/issues/612","id":177618807,"number":612,"title":"/principals/ not working under subdirectory","user":{"login":"maxt34","id":22266095,"avatar_url":"https://avatars.githubusercontent.com/u/22266095?v=3","gravatar_id":"","url":"https://api.github.com/users/maxt34","html_url":"https://github.com/maxt34","followers_url":"https://api.github.com/users/maxt34/followers","following_url":"https://api.github.com/users/maxt34/following{/other_user}","gists_url":"https://api.github.com/users/maxt34/gists{/gist_id}","starred_url":"https://api.github.com/users/maxt34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxt34/subscriptions","organizations_url":"https://api.github.com/users/maxt34/orgs","repos_url":"https://api.github.com/users/maxt34/repos","events_url":"https://api.github.com/users/maxt34/events{/privacy}","received_events_url":"https://api.github.com/users/maxt34/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fruux/Baikal/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-17T23:59:49Z","updated_at":"2016-09-20T21:04:47Z","closed_at":null,"body":"hi,\r\n\r\nupon trying to install baikal with nginx on a non-root-directory (xxxx.de/baikal/) i can not access my calendar.\r\n\r\nXYZ/baikal/dav.php works fine but without css style or .png \r\n\r\n![image](https://cloud.githubusercontent.com/assets/22266095/18611735/0d64e99c-7d43-11e6-98ac-49aa0cda7811.png)\r\n\r\nAll links (adressbooks etc.) are going into an 404 error\r\n\r\n![image](https://cloud.githubusercontent.com/assets/22266095/18611737/2b57bd44-7d43-11e6-9117-e388ea679949.png)\r\n\r\nThese are my baseuri settings\r\n\r\n![image](https://cloud.githubusercontent.com/assets/22266095/18611738/35e02cec-7d43-11e6-8a50-68b9ec6ca766.png)\r\n\r\nnginx error log\r\n2016/09/18 01:56:27 [error] 13391#0: *31 \"/usr/share/nginx/baikal/html/dav.php/principals/index.php\" is not found (20: Not a directory), \r\n\r\nsites-available/default\r\n`location /baikal {\r\n    alias /usr/share/nginx/baikal/html;\r\n    index index.php;\r\n    rewrite ^/baikal/.well-known/caldav /baikal/dav.php redirect;\r\n    rewrite ^/baikal/.well-known/carddav /baikal/dav.php redirect;\r\n\r\n    location ~ ^/baikal/(.+\\.php)$ {\r\n        alias /usr/share/nginx/baikal/html/$1;\r\n         fastcgi_split_path_info ^(.+\\.php)(.*)$;\r\n        fastcgi_pass unix:/var/run/php5-fpm.sock;\r\n        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;\r\n        fastcgi_param  PATH_INFO        $fastcgi_path_info;\r\n        include        /etc/nginx/fastcgi_params\r\n\r\nlocation ~* /baikal/(\\.ht|Core|Specific) {\r\n    deny  all;\r\n    return 404;\r\n}\r\n\r\n;\r\n`"},"comment":{"url":"https://api.github.com/repos/fruux/Baikal/issues/comments/248433930","html_url":"https://github.com/fruux/Baikal/issues/612#issuecomment-248433930","issue_url":"https://api.github.com/repos/fruux/Baikal/issues/612","id":248433930,"user":{"login":"maxt34","id":22266095,"avatar_url":"https://avatars.githubusercontent.com/u/22266095?v=3","gravatar_id":"","url":"https://api.github.com/users/maxt34","html_url":"https://github.com/maxt34","followers_url":"https://api.github.com/users/maxt34/followers","following_url":"https://api.github.com/users/maxt34/following{/other_user}","gists_url":"https://api.github.com/users/maxt34/gists{/gist_id}","starred_url":"https://api.github.com/users/maxt34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxt34/subscriptions","organizations_url":"https://api.github.com/users/maxt34/orgs","repos_url":"https://api.github.com/users/maxt34/repos","events_url":"https://api.github.com/users/maxt34/events{/privacy}","received_events_url":"https://api.github.com/users/maxt34/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T21:04:47Z","updated_at":"2016-09-20T21:04:47Z","body":"Question: What baseurl to use for davdroid?\r\nusing SERVERURL.xy/baikal/html/dav.php says there is no dav service?"}}
{"actor":{"display_login":"maxt34"}}