Looks like apache documentation advices to set up a reverse proxy like this.

>From http://httpd.apache.org/docs/2.0/mod/mod_proxy.html:

Reverse Proxy

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /foo http://foo.example.com/bar
ProxyPassReverse /foo http://foo.example.com/bar

On Sun, Mar 30, 2008 at 10:14 PM, Johan Euphrosine <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 30, 2008 at 9:39 PM, Loic Dachary <[EMAIL PROTECTED]> wrote:
>  > Johan Euphrosine wrote:
>  >  > Change branched and tagged as 1.0.9:
>  >  > http://jpoker.aminche.com/hg/upstream
>  >  > http://jpoker.aminche.com/hg/jpoker-1.0.9
>  >  >
>  >  > Thanks for your contributions.
>  >  Do you think it's ready to upload to Debian ? Or does it need to be
>  >  merged with your modifications ?
>
>  jpoker:/usr/src# diff -Nru --exclude=.hg upstream/ jpoker-dachary/
>  jpoker:/usr/src#
>
>  Looks like I've no pending modification to be merge since 1.0.8.
>  So 1.0.9 is all yours, and thus can be safely uploaded to Debian.
>
>
>  >  Maybe
>  > 
> http://jspoker.pokersource.info/#%5B%5Bdebian%20package%20apache2%20invalid%20ProxyPass%5D%5D
>  >  needs fixing to avoid installation problems ?
>  >
>
>  http://jpoker.aminche.com/REST works fine, behind a proxy, and with
>  this configuration file:
>
>  jpoker:/usr/src# cat /etc/apache2/sites-available/jpoker
>  Alias /jpoker /usr/share/jpoker
>  ProxyRequests Off
>  <Proxy *>
>   Order deny,allow
>   Allow from all
>  </Proxy>
>  ProxyPass /REST http://jspoker.pokersource.info/REST
>  ProxyPassReverse /REST http://jspoker.pokersource.info/REST
>
>  I'm not sure to understand when "the loop" it introduces ?
>  Is it because both ProxyPass and ProxyPassReverse are specified ?
>  Since I'm not an apache expert I will be very happy to have your
>  insights about this.
>
>  Could you reproduce the "not working behind a proxy" bug ?
>
>  If you do, feel free to post the apache log here.
>  --
>  bou ^
>



-- 
bou ^

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to