Forum Discussion
vinodhkannanaws
Nimbostratus
Dec 28, 2022how to use apache htacess in nginx
Below is the apache .htaccess content and we are using it in wordpress. i want to use the same for word press with nginx. any one please assist me. <IfModule mod_rewrite.c> RewriteEngine On ...
Also, make sure to use lindex 0 to get the lowest value as TCL lists are 0 indexed.
when RULE_INIT {
set var0 4
set var1 3
set var2 2
set var3 1
set var4 0
log local0. "Sorted: [lsort -integer [list $var0 $var1 $var2 $var3 $var4]]\
-> lowest: [lindex [lsort -integer [list $var0 $var1 $var2 $var3 $var4]] 0] "
}
Log output:
: Sorted: 0 1 2 3 4 -> lowest: 0
Aaron
- Hi Nathan,
- hwidjaja_37598Apr 22, 2010
Altostratus
Try the attached iRule. In Javascipts's "function initPage()", I replaced double quote(") to single quote (') and removed google ads stuff. - hwidjaja_37598Apr 22, 2010
Altostratus
Accidental Duplicate Post, please ignore ... - hwidjaja_37598Apr 22, 2010
Altostratus
Accidental Duplicate Post, please ignore ...
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