Add_header Set-Cookie: $arg_PARAMETER yields: 32049#0: unknown "arg_parameter" variable

Hello all,

Iam trying to create a cookie globally based on a QUERY string var…
for
this Iam doing:

add_header Set-Cookie: $arg_PARAMETER;

When nginx is started it fails and errors: [emerg] 32049#0: unknown
“arg_parameter” variable

How could I accomplish what Iam trying? (yes this needs to be done on a
server level and not on an application level).

Thanks.

Hello!

On Wed, Sep 16, 2009 at 12:29:50PM -0500, David Taveras wrote:

How could I accomplish what Iam trying? (yes this needs to be done on a
server level and not on an application level).

Upgrade? Variables $arg_* appeared in 0.7.8 and was backported
into 0.6.36. Probably you are using something older.

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs