X
點擊此處開啟此網站的行動版。

技術支援討論區

reverse proxy/URL Rewrite in IIS not supported by firefox?

已張貼

I have a Angular 6 app hosted behind a reverse proxy in IIS.

I'm unable to launch the app in iframe using firefox but can do so using chrome. 

I've been using the URL Rewrite Module.

I have a Angular 6 app hosted behind a reverse proxy in IIS. I'm unable to launch the app in iframe using firefox but can do so using chrome. I've been using the URL Rewrite Module.
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

更多資訊

SHAIN 0 個解決方法 12 個答案

I can't talk about Chrome but Firefox has, and has had for quite some time, a bug where it fails to recognise new content on some pages and uses it's cache instead. Just restarting the browser achieves nothing. You have to clear the browser cache completely. In some web apps I have to append a random or timestamped string to the URL in order to get FF to always reload some pages. The relevant meta tags in the header are very often also ignored by FF.

<rewrite>

 <rules>
   <rule name="Redirect to HTTPS" stopProcessing="true">
     <match url="(.*)" />
     <conditions>
       <add input="{HTTPS}" pattern="^OFF$" />
     </conditions>
     <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
   </rule>
 </rules>

</rewrite>

I can't talk about Chrome but Firefox has, and has had for quite some time, a bug where it fails to recognise new content on some pages and uses it's cache instead. Just restarting the browser achieves nothing. You have to clear the browser cache completely. In some web apps I have to append a random or timestamped string to the URL in order to get FF to always reload some pages. The relevant meta tags in the header are very often also ignored by FF. <rewrite> <rules> <rule name="Redirect to HTTPS" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" /> </rule> </rules> </rewrite>
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題