Penguin
Diff: ApacheReverseProxy
EditPageHistoryDiffInfoLikePages

Differences between version 7 and previous revision of ApacheReverseProxy.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 7 Last edited on Monday, November 28, 2005 4:32:57 pm by CraigBox Revert
Older page: version 5 Last edited on Saturday, November 5, 2005 5:12:19 pm by JustinFitz Revert
@@ -38,8 +38,12 @@
  
 ~ProxyPassReverse, which has the same syntax as ~ProxyPass, will adjust the response URI to keep it pointing at the same place. 
  
 This works fairly well, although it fails if the internal website is a bit more complicated, or is on a different port. Use mod_proxy_html for that! 
+  
+! I get "client denied by server configuration: proxy:http://site" errors  
+  
+You have a <proxy:*> block that is denying your access. Check in mods-enabled/proxy.conf if you're on Debian or Ubuntu, because it defaults to denying all.  
  
 !! mod_proxy_html 
  
 Suppose I want to expose a website that is running on a non-standard port internally. I could use mod_proxy, if the website only used relative or path-only absolute URLS. However, the website happens to know what hostname and port it is supposed to be running on, and has some urls which are targetted directly at the hostname and port. mod_proxy will break in this case, because URLs in the webpages aren't rewritten, and I can't access the device directly from the external network. 
@@ -72,8 +76,14 @@
  
 ----- 
  
 !!Using Apache 2 with Outlook Web Access (OWA) 
+  
+First, enable some useful modules:  
+<pre>  
+a2enmod proxy  
+a2enmod headers  
+</pre>  
  
 Placeholder for when I actually get this going: 
  
 <verbatim>