thanks for the tip, the combination with mod_eval works great.
i modified my module a little and use it in combination with mod_eval
to create a variable in the nginx config file that contains the
authentication status of a user.
my colleague alvaro videla wrote a little python server which can give
me the authentication status of a user based on the php session cookie
which i am passing to him using the check_session module:
http://obvioushints.blogspot.com/2010/01/inspecting-php-sessions-from-python.html
thats cool because we can now, using this variable in the nginx
config, cache pages in memcache which are specific to an
authentication level. thats going to save us a lot of cpu on our
really have php framework.
i attached my modified module and a test nginx config to the mail.
mauro
On Sun, Jan 24, 2010 at 23:59, Mauro Stettler <mauro.stettler@gmail.com> wrote:
> looks great, i will try that,
>
> thanks
>
>
>
> On Sun, Jan 24, 2010 at 23:49, Piotr Sikora <piotr.sikora@frickle.com> wrote:
>> Use eval module.
>>
>> Best regards,
>> Piotr Sikora < piotr.sikora@frickle.com >
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://nginx.org/mailman/listinfo/nginx
>>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx