Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: 2 variables inside if() ?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
untamed
October 22, 2010 04:05PM
Registered: 13 years ago
Posts: 3
Thank you very much for your reply,
I know for definite both variables are set and are the same, eg:
[code]set $var1 'yes';
set $var2 'yes';
if ($var1 ~ $var2) {
...
}[/code]
Returns:
[code]*1 "$var2" does not match "yes"[/code]
So seems like the second variable is considered a string and not a variable.
Reply
Quote
RSS
Subject
Author
Posted
2 variables inside if() ?
untamed
October 22, 2010 12:42PM
Re: 2 variables inside if() ?
António P. P. Almeida
October 22, 2010 01:50PM
Re: 2 variables inside if() ?
untamed
October 22, 2010 04:05PM
Re: 2 variables inside if() ?
Maxim Dounin
October 22, 2010 04:18PM
Re: 2 variables inside if() ?
untamed
October 23, 2010 12:55AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018