Forum Discussion
MGrift_57913
Oct 30, 2012Nimbostratus
Return a text string
We are looking to re-direct Microsoft Network Connect Service queries (http://www.msftncsi.com/ncsi.txt) to a virtual server, and serve up the string ourselves via an F5 iRule or other method.
T...
What_Lies_Bene1
Cirrostratus
Here you go;
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] ends_with "ncsi.txt" } { HTTP::respond 200 content "Microsoft NCSI" } }
--Corrected as directed below
etem055
Nov 23, 2022Nimbostratus
where should be define this file?
ncsi.txt
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