{"id":252,"date":"2005-12-11T21:13:00","date_gmt":"2005-12-11T21:13:00","guid":{"rendered":""},"modified":"2007-01-07T15:51:08","modified_gmt":"2007-01-07T23:51:08","slug":"got-typo-working","status":"publish","type":"post","link":"https:\/\/znark.com\/blog\/2005\/12\/got-typo-working\/","title":{"rendered":"Got Typo Working"},"content":{"rendered":"<p>I got Typo working as I want it.  The solution was adding a line to config\/environment.rb to tell it to make all the links relative.  I didn&#8217;t need the new strip-request-uri parameter for lighttpd.<\/p>\n<pre>\r\nActionController::AbstractRequest.relative_url_root = \"\/blog\"\r\n<\/pre>\n<p>Then I setup up the proxying.  This was done through webmin but the directives produced were:<\/p>\n<pre>\r\nProxyPass \/blog http:\/\/znark.com:8090\/blog\r\nProxyPassReverse \/blog http:\/\/znark.com:8090\/blog\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I got Typo working as I want it. The solution was adding a line to config\/environment.rb to tell it to make all the links relative. I didn&#8217;t need the new strip-request-uri parameter for lighttpd. ActionController::AbstractRequest.relative_url_root = &#8220;\/blog&#8221; Then I setup up the proxying. This was done through webmin but the directives produced were: ProxyPass \/blog [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66,54],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-blog","category-ruby"],"_links":{"self":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":0,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"wp:attachment":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}