# Exclude certain of HTTP URLs from HTTPS Traffic

**URL:** <https://community.f5.com/t/exclude-certain-of-http-urls-from-https-traffic/73631>\
**Category:** Technical Forums\
**Tags:** devops, application-delivery\
**Created:** [December 7, 2023, 7:25pm UTC](https://community.f5.com/t/exclude-certain-of-http-urls-from-https-traffic/73631 "2023-12-07T19:25:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![logan92](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@logan92](https://community.f5.com/u/logan92)\
**Post date:** [December 7, 2023, 7:25pm UTC](https://community.f5.com/t/exclude-certain-of-http-urls-from-https-traffic/73631/1 "2023-12-07T19:25:30Z")

</div>

Hi,

I have HTTPs VIP on port 443 , the backend app has few urls in http (some content in webpage using http (Mixed Content)) that doesn’t work with F5 HTTPS offloading, I want those&nbsp; HTTP URLs to be handled as HTTP not HTTPs traffic , how can i do that?

---

<div class="post-metadata">

**Author:** ![JRahm](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/jrahm/32/3327_2.png) [@JRahm](https://community.f5.com/u/JRahm)\
**Post date:** [December 7, 2023, 11:06pm UTC](https://community.f5.com/t/exclude-certain-of-http-urls-from-https-traffic/73631/2 "2023-12-07T23:06:49Z")

</div>

is it possible to fix the mixed content issue with a stream profile? That would be the better path, but would need to know more about your application and the delivery configuration.

---

<div class="post-metadata">

**Author:** ![zamroni777](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/zamroni777/32/1473_2.png) [@zamroni777](https://community.f5.com/u/zamroni777)\
**Post date:** [December 8, 2023, 2:26am UTC](https://community.f5.com/t/exclude-certain-of-http-urls-from-https-traffic/73631/3 "2023-12-08T02:26:44Z")

</div>

i had similar situation.  
the ideal solution is changing the app to always use relative paths.

if it’s on different hostname/ip, use //address when referencing to other address, instead of [http://..](http://..). or [https://..](https://..).  
browser will automatically use https if calling window is https

for workaround, you can create http virtual server vip:80

---

<div class="post-metadata">

**Author:** ![logan92](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@logan92](https://community.f5.com/u/logan92)\
**Post date:** [December 12, 2023, 8:16pm UTC](https://community.f5.com/t/exclude-certain-of-http-urls-from-https-traffic/73631/4 "2023-12-12T20:16:40Z")

</div>

yes , issue is fixed by using stream profile in this article [https://my.f5.com/manage/s/article/K31100432](https://my.f5.com/manage/s/article/K31100432)&nbsp;, but error message&nbsp; appeared in another webpage in website which webpage can’t load. and when i remove stream profile ,webpage works normally.&nbsp;  
note: [asp.net](http://asp.net) webserver uses www-authentication header: NTLM , i don’t know if this related to the issue or not.
