搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 1 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 SHAIN

more options

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.

所有回覆 (1)

more options

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>