Welcome! Log In Create A New Profile

Advanced

Variables in FreeBSD

Posted by dalspenguin 
Variables in FreeBSD
April 26, 2009 10:49AM
Hello,

I have created nginx module (compile by gcc) and found that nginx does not support VARIABLES on the FreeBSD os.
I try to use it like
ngx_str_t name = {r->variables[1].len, (unsigned char *) r->variables[1].data};
However every time I get errors in the error.log file: signal 11
It's works perfect on the Ubuntu os. I've read VARIABLES are not supported for the nginx 0.7.52. But I need to get the value of variables when I call my module from nginx.conf like
set_module_value $returnedValue $incomingValue
Could anyone help me to get a value from the variable $incomingValue on FreeBSD OS?
Is there any way to get variable value on FreeBSD OS?

Thanks a lot!

Yours sincerely,
Alex
Re: Variables in FreeBSD
September 19, 2009 10:06AM
Hi Alex,
I´m have same dificult in develop ngx module.
Can You switch more info to solve both problems?

best regars,

Ranier Vilela
Re: Variables in FreeBSD
September 20, 2009 07:41AM
Yes, I have solved it and it works perfectly.
I can give you sample of my code.
Please, write to my e-mail: dalspenguin@gmail.com
if you need it.

Or you can contact to my Skype: alexanderdonchenko

Yours sincerely,
Aleksander



Edited 1 time(s). Last edit at 09/20/2009 07:45AM by dalspenguin.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready