Forum Discussion
Yossi_100626
Nimbostratus
Jan 01, 2015Add basic authentication for specific page
Hi,
Will appreciate if anyone could explain what am I doing wrong.
I would like to protect a single specific page with basic authentication.
when HTTP_REQUEST {
if {[string tolower [HTTP::u...
Yossi_100626
Nimbostratus
Jan 01, 2015Is this OK?
Jan 1 16:00:01 ltm2 err tmm[17788]: 01220001:3: TCL error: /Common/LimitConnect ion - can't use non-numeric string as operand of "!" while executing "if {not [string tolower [HTTP::uri]] contains "somepage.jsp"} { return }"- nitassJan 01, 2015
Employee
sorry to confuse. i mean the irule. :-) e.g. if {not ([string tolower [HTTP::uri]] contains "somepage.jsp")} { ... }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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