Forum Discussion
Joel_41531
Nimbostratus
May 27, 2009Blocking insecure log-in page
We terminate https on the F5, and pass traffic to the web apps on port 80. Consequently, I have an interesting problem. I have a log-in page (/store/user/login.jhtml) that should only be accessed via ...
hoolio
Cirrostratus
Dec 28, 2010Hi Tacobell,
You can insert a custom HTTP header on the HTTPS VS with a custom HTTP profile that has the header to remove set to X-HTTPS and the header to insert set to 'X-HTTPS: 1'. On the HTTP VS, you could do the same with the header to insert's value set to 0.
HTTP profile for the HTTP virtual server
profile http http_profile_https_0 {
defaults from http
header insert "X-HTTPS: 0"
header erase "X-HTTPS"
}
HTTP profile for the HTTPS virtual server
profile http http_profile_https_1 {
defaults from http
header insert "X-HTTPS: 1"
header erase "X-HTTPS"
}
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects