Note that there are some explanatory texts on larger screens.

plurals
  1. PORhodeCode proxied by IIS 7
    primarykey
    data
    text
    <p>I installed RhodeCode 1.2.2 at a Windows 2008R2 (64Bit) box. </p> <p>I had setup a IIS 7 as a Proxy Server (Application Request Routing + URL Rewrite) for RhodeCode running at 127.0.0.1:5000. </p> <p>The Repository is reachable via "https://subdomain.domain.de". </p> <p>At the repository summary, the Clone url points to: https://[username]@127.0.0.1:5000/SomeProject </p> <p>At the client side, I can clone the repository when replacing the "127.0.0.1:5000" with "subdomain.domain.de". </p> <p>For sure I would like that RhodeCode displays the Proxy url ("subdomain.domain.de") instead of the 127.XXX... </p> <p>I search the web up and down and the only thing I found, was that Apache has a "ProxyPreserveHost On" setting, which does the trick. However I didn't found anything like that for IIS. </p> <p>Is there somewhere a setting within the "production.ini" where I can define the proxy url? Or does someone found the well hidden setting within the IIS? </p> <p>Any help is much appreciated :-) </p> <hr> <p>thanks for your answer! I already use the ARR and setup the reverse proxy, I can access RhodeCode via the proxy. However, it looks like that the HTTP_HOST value is not forwarded to paster. </p> <p>Within the IIS, I setup the following server variables and set them within the reverse proxy rule:</p> <pre><code>&lt;set name="HTTP_HOST" value="[subdomain.domain.de]" /&gt; &lt;set name="HTTP_X_FORWARDED_SERVER" value="[subdomain.domain.de]" /&gt; &lt;set name="HTTP_X_ORIGINAL_HOST" value="[subdomain.domain.de]" /&gt; &lt;set name="HTTP_X_HTTP_HOST" value="[subdomain.domain.de]" /&gt; &lt;set name="HTTP_X_URL_SCHEME" value="https" /&gt; </code></pre> <p>but that have no affect at all.</p> <p>At the linked previously answer, he suggested to copy these variable values back to the HTTP_HOST (within tomcat, should be paster in my case). That looks a bit overkilled to me, in comparsion to a simple "ProxyPreserveHost On" within apache. I have the feeling that I missed something here.</p> <p>Cheers, Sörnt</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload