Welcome! Log In Create A New Profile

Advanced

Re: Need help with writing module

Reinis Rozitis
June 20, 2012 02:46PM
> I am new to nginx. This going to be my first module. What would be best
> way to write it? When there is specific http requeset, module should
> open file and read the tex from it, and write some text to the file. It
> should write it after specific text that is why it needs to read text
> from file. I could not find any info on how to use files in modules.


Unless there are some specific reasons it seems it would be more simple for
you to add such feature via the embedded perl (
http://wiki.nginx.org/HttpPerlModule ) or lua module (
http://wiki.nginx.org/HttpLuaModule ).

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Need help with writing module

munkhabi June 20, 2012 01:23PM

Re: Need help with writing module

munkhabi June 20, 2012 01:37PM

Re: Need help with writing module

Reinis Rozitis June 20, 2012 02:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
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