{"id":1040,"date":"2014-05-18T13:30:42","date_gmt":"2014-05-18T13:30:42","guid":{"rendered":"http:\/\/kraftek.com\/wordpress\/?p=1040"},"modified":"2014-05-18T13:30:42","modified_gmt":"2014-05-18T13:30:42","slug":"apache-as-a-web-proxy","status":"publish","type":"post","link":"\/blog\/index.php\/apache-as-a-web-proxy\/","title":{"rendered":"apache as a web proxy"},"content":{"rendered":"<div>\n<p>if you want a quick web proxy for your browsers or for anything, you can define a virtualhost in apache2 as follows:<\/p>\n<pre>Listen *:8080\r\n&lt;VirtualHost *:8080&gt;\r\n\r\nProxyRequests On\r\nProxyVia On\r\n\r\n&lt;Proxy *&gt;\r\nOrder deny,allow\r\nAllow from all\r\n&lt;\/Proxy&gt;\r\n\r\nCacheRoot \"\/tmp\"\r\nCacheMaxExpire 24\r\nCacheLastModifiedFactor 0.1\r\nCacheDefaultExpire 1\r\nServerName my-proxy\r\nErrorLog \"\/opt\/csw\/apache2\/var\/log\/proxy-error.log\"\r\nCustomLog \"\/opt\/csw\/apache2\/var\/log\/proxy-access.log\" common\r\n\r\n&lt;\/VirtualHost&gt;<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>if you want a quick web proxy for your browsers or for anything, you can define a virtualhost in apache2 as follows: Listen *:8080 &lt;VirtualHost *:8080&gt; ProxyRequests On ProxyVia On &lt;Proxy *&gt; Order deny,allow Allow from all &lt;\/Proxy&gt; CacheRoot &#8220;\/tmp&#8221; CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 ServerName my-proxy ErrorLog &#8220;\/opt\/csw\/apache2\/var\/log\/proxy-error.log&#8221; CustomLog &#8220;\/opt\/csw\/apache2\/var\/log\/proxy-access.log&#8221; common &lt;\/VirtualHost&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1040","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1040"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1040\/revisions"}],"predecessor-version":[{"id":1041,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1040\/revisions\/1041"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1040"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}