title: apache proxy module gives 403 forbidden error
body: <p>I am trying to use the apache's proxy module for working with xmpp on ubuntu desktop. For this i did the following things - </p>
  
  <p>1) enabled mod_proxy by creating a symlink of proxy.conf, proxy.load and proxy_http.load from /etc/apache2/mods-available/ in the mods-enabled directory.</p>
  
  <p>2) Added the following lines to the vhost</p>
  
  <pre><code>    &lt;Proxy http://mydomain.com/httpbind&gt;
       Order allow,deny
       Allow from all
     &lt;/Proxy&gt;
  
     ProxyPass /httpbind http://mydomain.com:7070/http-bind/
     ProxyPassReverse /httpbind http://mydomain.com:7070/http-bind/
  </code></pre>
  
  <p>I am new to using the proxy module but what i can make from the above lines is that requests to <code>http://mydomain.com/httpbind</code> will be forwarded to <code>http://mydomain.com:7070/http-bind/</code>. Kindly correct if wrong. </p>
  
  <p>3) added rule <code>Allow from .mydomain.com</code> in /mods-available/proxy.conf</p>
  
  <p>Now i try to access <code>http://mydomain.com/httpbind</code> and it shows 403 Forbidden error.. </p>
  
  <p>What am i missing here ? Please help. thanks</p>
  
  <p>Edit : The problem got solved when i changed the following code in mods_available/proxy.conf</p>
  
  <pre><code>    &lt;Proxy *&gt;
              AddDefaultCharset off
              Order deny,allow
      Deny from all 
      Allow from mydomain.com                        
      &lt;/Proxy&gt;
  </code></pre>
  
  <p>to </p>
  
  <pre><code>    &lt;Proxy *&gt;
              AddDefaultCharset off
              Order deny,allow
      #Deny from all 
      Allow from all                         
      &lt;/Proxy&gt;
  </code></pre>
  
  <p>Didnt get what was wrong with the initial code though</p>