Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

URL Rewrite

$
0
0

Hi I have a problem configuring Reverse proxy. 

I have 2x Webservers with ARR configured, and they are working great. I installed recently sharepoint 2013 and some time tracking application on 2 different servers. I would like to configure access to these servers from outside.

these are my rules.

<rules>
<clear />
<rule name="ReverseProxyInboundRule3" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="^timetracking\.domain\.com$" />
</conditions>
<action type="Rewrite" url="http://192.168.100.141/{R:1}" />
</rule>
<rule name="Put_HTTP_HOST_BACK" enabled="false"> -- this is disabled -- 
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_X_ORIGINAL_HTTP_HOST}" pattern="^$" negate="true" />
</conditions>
<serverVariables>
<set name="HTTP_HOST" value="{HTTP_X_ORIGINAL_HTTP_HOST}" />
</serverVariables>
<action type="None" />
</rule>
<rule name="To_SSL" stopProcessing="true">
<match url="^ssl\.domain\.com" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="^ssl\.domain\.com$" />
</conditions>
<action type="Redirect" url="https://192.168.100.151:1400/{C:0}" />
</rule>
<rule name="ReverseProxyInboundRule2" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="extranet.domain.com" />
</conditions>
<action type="Rewrite" url="http://192.168.100.154/{R:1}" />
</rule>

</rules>

Unfortunatelly none of my rules are operational.

When I try timetracking.domain.com from outside I receive 

"502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server. "

When I try ssl.domain.com from outside I receive

"404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."

Extranet for Sharepoint is not yet configured. Can you please help to configure these two ?

Thanks


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>