{"action":"created","issue":{"url":"https://api.github.com/repos/h2o/h2o/issues/455","labels_url":"https://api.github.com/repos/h2o/h2o/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/h2o/h2o/issues/455/comments","events_url":"https://api.github.com/repos/h2o/h2o/issues/455/events","html_url":"https://github.com/h2o/h2o/issues/455","id":102633133,"number":455,"title":"With use of libh2o library how can I configure a path for the file-content (assets) for the server?","user":{"login":"Thalak","id":13931111,"avatar_url":"https://avatars.githubusercontent.com/u/13931111?v=3","gravatar_id":"","url":"https://api.github.com/users/Thalak","html_url":"https://github.com/Thalak","followers_url":"https://api.github.com/users/Thalak/followers","following_url":"https://api.github.com/users/Thalak/following{/other_user}","gists_url":"https://api.github.com/users/Thalak/gists{/gist_id}","starred_url":"https://api.github.com/users/Thalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thalak/subscriptions","organizations_url":"https://api.github.com/users/Thalak/orgs","repos_url":"https://api.github.com/users/Thalak/repos","events_url":"https://api.github.com/users/Thalak/events{/privacy}","received_events_url":"https://api.github.com/users/Thalak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/h2o/h2o/labels/FAQ","name":"FAQ","color":"cc317c"},{"url":"https://api.github.com/repos/h2o/h2o/labels/libh2o","name":"libh2o","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-23T15:47:02Z","updated_at":"2015-08-25T06:09:29Z","closed_at":null,"body":"Hi,\r\n\r\nI'am using the to libh2o library. And i't works so fare if I handle e.g. a 'Get' Request by the client in my request callback funktion where I'am have to response.\r\n\r\nBut I have also some fix html-content to offer for a client. How and where must I configure the libh2o- server to offer the client the content e.g. /root/server_files/ ... index.html .... and so on?\r\n\r\nI would expect I can use a own Port and handover the content-path to the server-setup and it is done.\r\nIf a client is calling to this address or path to the content, the server offers directly the content.\r\n\r\nWith the stand alone h2o server we have a config-file where we can set-up the path and hand over this config-file to the server. Then we start the server and finish. If a client is calling the path or address die server is responding to this path. \r\n\r\nlike this ---> https://h2o.examp1e.net/configure/base_directives.html\r\n\r\nBut what must I do for this same behavior if I use the  libh2o library?\r\n\r\nThanks and Regards,\r\nThalak"},"comment":{"url":"https://api.github.com/repos/h2o/h2o/issues/comments/134491530","html_url":"https://github.com/h2o/h2o/issues/455#issuecomment-134491530","issue_url":"https://api.github.com/repos/h2o/h2o/issues/455","id":134491530,"user":{"login":"Thalak","id":13931111,"avatar_url":"https://avatars.githubusercontent.com/u/13931111?v=3","gravatar_id":"","url":"https://api.github.com/users/Thalak","html_url":"https://github.com/Thalak","followers_url":"https://api.github.com/users/Thalak/followers","following_url":"https://api.github.com/users/Thalak/following{/other_user}","gists_url":"https://api.github.com/users/Thalak/gists{/gist_id}","starred_url":"https://api.github.com/users/Thalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thalak/subscriptions","organizations_url":"https://api.github.com/users/Thalak/orgs","repos_url":"https://api.github.com/users/Thalak/repos","events_url":"https://api.github.com/users/Thalak/events{/privacy}","received_events_url":"https://api.github.com/users/Thalak/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T06:09:29Z","updated_at":"2015-08-25T06:09:29Z","body":"Yes. Thank you.  :)"}}