[users@httpd] Impact of CVE-2017-9789?

2017-09-20 Thread Dan Mahoney (Gushi)
Hey all, Under FreeBSD, mod_http2 is not compiled by the ports tree by default. Are we still vulnerable to this? Is there any mitigation strategy besides upgrading? (Disabling htaccess parsing, for example?) -Dan -- - To

Re: [users@httpd] how to externally redirect?

2017-09-20 Thread Eric Covener
I meant read it an editor of your choice to see how it's done. On Wed, Sep 20, 2017 at 11:21 AM, eeadev dev wrote: > shall I import the mod_alias.c file in my project or if I install the module > mod_alias.c, I can use its functions? > > 2017-09-20 16:34 GMT+02:00 Eric Covener : >> >> >> >> On We

Re: [users@httpd] how to externally redirect?

2017-09-20 Thread eeadev dev
shall I import the mod_alias.c file in my project or if I install the module mod_alias.c, I can use its functions? 2017-09-20 16:34 GMT+02:00 Eric Covener : > > > On Wed, Sep 20, 2017 at 10:31 AM, eeadev dev wrote: > >> how can I redirect externally from my module? >> > > ​Have a look at how fix

Re: [users@httpd] how to externally redirect?

2017-09-20 Thread Eric Covener
On Wed, Sep 20, 2017 at 10:31 AM, eeadev dev wrote: > how can I redirect externally from my module? > ​Have a look at how fixup_redir() in mod_alias.c works. Set a Location header and return 301/302/... Note: This may only work in certain hooks (fixup and handler definitly) ​

[users@httpd] how to externally redirect?

2017-09-20 Thread eeadev dev
how can I redirect externally from my module? for instance under certain condition I need to go to www.google.com I saw this api void ap_internal_redirect

Re: [users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread eeadev dev
actually noone is working "${VAR_NAME}" nor $VAR_NAME nor VAR_NAME 2017-09-20 5:07 GMT-07:00 eeadev dev : > is there anything similar but related to my module? > for instance, now I have mymodule.conf I would prefer to write it there > than in the general conf file, is it possible to define my va

Re: [users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread eeadev dev
is there anything similar but related to my module? for instance, now I have mymodule.conf I would prefer to write it there than in the general conf file, is it possible to define my var there and use ap_resolve_env()? 2017-09-20 4:16 GMT-07:00 Yann Ylavic : > On Wed, Sep 20, 2017 at 1:11 PM, Yan

Re: [users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread Yann Ylavic
On Wed, Sep 20, 2017 at 1:11 PM, Yann Ylavic wrote: > On Wed, Sep 20, 2017 at 12:58 PM, Yann Ylavic wrote: >> On Wed, Sep 20, 2017 at 11:55 AM, eeadev dev wrote: >>> I have to write a set of variable to be read from my C module. Those >>> variable could be change when the code is in production,

Re: [users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread Yann Ylavic
On Wed, Sep 20, 2017 at 12:58 PM, Yann Ylavic wrote: > On Wed, Sep 20, 2017 at 11:55 AM, eeadev dev wrote: >> I have to write a set of variable to be read from my C module. Those >> variable could be change when the code is in production, similar to what u >> would write in a java properties file

Re: [users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread Yann Ylavic
On Wed, Sep 20, 2017 at 12:58 PM, Yann Ylavic wrote: > On Wed, Sep 20, 2017 at 11:55 AM, eeadev dev wrote: >> I have to write a set of variable to be read from my C module. Those >> variable could be change when the code is in production, similar to what u >> would write in a java properties file

Re: [users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread Yann Ylavic
On Wed, Sep 20, 2017 at 11:55 AM, eeadev dev wrote: > I have to write a set of variable to be read from my C module. Those > variable could be change when the code is in production, similar to what u > would write in a java properties file. > > What is the proper way to do it and which functions t

Re: [users@httpd] Increasing packet size to 64 KB on mod_proxy and mod_proxy_balancer

2017-09-20 Thread Yann Ylavic
On Wed, Sep 20, 2017 at 2:54 AM, DhilliPrasad Nellepalli wrote: > > We don't use the ssl from apache to netty. One thing I have notice was > expect:100-Continue header in the request to apache. That's the request (of the Apache proxy) to the backend, right? If so... > Not sure if except > heade

[users@httpd] setting getting variable to be changed in production and read in my C module

2017-09-20 Thread eeadev dev
I have to write a set of variable to be read from my C module. Those variable could be change when the code is in production, similar to what u would write in a java properties file. What is the proper way to do it and which functions to use? 1. write the in the httpd.conf (what is the API for