{"id":765,"date":"2007-06-25T23:57:42","date_gmt":"2007-06-25T21:57:42","guid":{"rendered":"http:\/\/www.rare-it.com\/blog\/index.php\/2007\/06\/25\/mod_proxy\/"},"modified":"2007-06-25T23:57:42","modified_gmt":"2007-06-25T21:57:42","slug":"mod_proxy","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2007\/06\/mod_proxy\/","title":{"rendered":"mod_proxy"},"content":{"rendered":"<p>Thanks to my colleague Wijnand for pointing me out that the XMLHTTPREQUEST security problem can be solved by using <a href=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mod_proxy.html\">mod_proxy<\/a>. As I was trying to show an Oracle <a href=\"http:\/\/www.oracle.com\/technology\/products\/mapviewer\/index.html\">Mapviewer<\/a> map inside an <a href=\"http:\/\/www.oracle.com\/technology\/products\/database\/application_express\/index.html\">APEX<\/a> HTML region, I needed to proxy the mapviewer in the APEX Apache configuration.<\/p>\n<pre lang=\"apache\">\n<IfModule mod_proxy.c>\n    ProxyRequests On\n    # Set to one of: Off | On | Full | Block\n    ProxyVia On\n    ProxyPass \/mapviewer http:\/\/l-rsprinkhuizen:8888\/mapviewer\n    ProxyPassReverse \/mapviewer http:\/\/l-rsprinkhuizen:8888\/mapviewer\n<\/IfModule>\n<\/pre>\n<p>At first I proxied to \/mv to keep the typing (-errors) to a minimum, but that didn&#8217;t seem to work. Parts were showing, others parts were not. Then I changed the \/mv to \/mapviewer and everything worked. So there you have it: Mapviewer has a hardcoded path in some of its core!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to my colleague Wijnand for pointing me out that the XMLHTTPREQUEST security problem can be solved by using mod_proxy. As I was trying to show an Oracle Mapviewer map inside an APEX HTML region, I needed to proxy the mapviewer in the APEX Apache configuration. ProxyRequests On # Set to one of: Off | <a href='https:\/\/www.switchbl8.nl\/blog\/2007\/06\/mod_proxy\/' class='excerpt-more'>[&#8230;]<\/a><\/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-765","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-1-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=765"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/765\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}