Re: Hashes / Arrays für $arg_PARAMETER

Maik Unger lists at ruby-forum.com
Thu Jul 25 11:34:34 UTC 2013


hi,

i think that you don't understand me.

i will define an array that will check against the $arg_PARAMETER.

Example:

Array with the following Values:

array ("test"; "test2)

Query-String:

http://domain.com/?user=test

$arg_user = "test"

if the $arg_PARAMETER match with on of the array values, the access to 
the webseite is allow, otherwise the access is disallowed.

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list