[users@httpd] mpm_winnt, websockets and restarts: increasing number of (blocked?) threads

2020-12-11 Thread Marianne Dev
Hi, Short version: I use httpd on Windows as a reverse proxy for a microservice system. Some services communicate over websockets (more precicely: SignalR). From time to time I have to restart the server in order to read a new configuration. I observe an increasing number of threads blocked by th

[users@httpd] how to free memory allocated using apr_palloc() - C Apache module

2017-11-27 Thread eeadev dev
As written in the subject, is there a way to deallocate memory which has been allocated using apr_palloc() and what is the best practice to do that? thank you

Re: [users@httpd] how to run one module before another

2017-11-03 Thread eeadev dev
also could please explain further what is the meaning of these aszSuc/aszPre? thank you 2017-11-03 9:23 GMT+01:00 eeadev dev : > thanks Eric, but what if they are custom modules? > > 2017-11-02 19:58 GMT+01:00 Eric Covener : > >> grep for aszSuc/aszPre in a few standard mod

Re: [users@httpd] how to run one module before another

2017-11-03 Thread eeadev dev
thanks Eric, but what if they are custom modules? 2017-11-02 19:58 GMT+01:00 Eric Covener : > grep for aszSuc/aszPre in a few standard modules. > > On Thu, Nov 2, 2017 at 2:14 PM, eeadev dev wrote: > > How can I decide the order of two module or at least having one always >

[users@httpd] how to run one module before another

2017-11-02 Thread eeadev dev
How can I decide the order of two module or at least having one always running before another one? thanks

[users@httpd] header out working in local apache but not on development environment

2017-10-26 Thread eeadev dev
I used this apache C function *apr_table_addn(r->err_headers_out , "Remote-Proxy-User", "UserUpn=ME");* I can see the result in my chrome dev tool when I use it in an apache running locally but It does not work in the development environment. what could be the reason? Thank you

[users@httpd] Module per crypt/decrypt using base64 coding

2017-10-25 Thread eeadev dev
HI all, is there a module that does it? I want to see its source code? Thanks

Re: [users@httpd] how to include ssl lib when running apxs

2017-10-18 Thread eeadev dev
B" > > 2017-10-17 19:04 GMT+02:00 eeadev dev : > > I am compiling my apache c module using this > > > > sudo apxs -i -a -c mod_ex.c > > > > now I need to use the lib openssl > > > > what should I use to include this lib, > > > > I tried

[users@httpd] how to include ssl lib when running apxs

2017-10-17 Thread eeadev dev
I am compiling my apache c module using this sudo apxs -i -a -c mod_ex.c now I need to use the lib openssl what should I use to include this lib, I tried with adding this option: -I /usr/include/openssl but it still seems that it does find some function. Please how shall I do to include it?

Re: [users@httpd] Where does ap_rprintf actually print out?

2017-10-13 Thread eeadev dev
thanks, in the console browser? 2017-10-13 3:03 GMT-07:00 Daniel Gruno : > On 10/13/2017 11:53 AM, eeadev dev wrote: > > Writing an apache C module I tried this function: > > > > https://ci.apache.org/projects/httpd/trunk/doxygen/ > group__

[users@httpd] Where does ap_rprintf actually print out?

2017-10-13 Thread eeadev dev
Writing an apache C module I tried this function: https://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__PROTO.html#ga5e91eb6ca777c9a427b2e82bf1eeb81d but I dont know where it does print out. Does it in any specific file? I called it this way: ap_rprintf(r, "print out!"); and

[users@httpd] how to exit a C Apache module

2017-10-12 Thread eeadev dev
I tried with the C exit() but it returns a page with this content: *The connection was resetThe connection to the server was reset while the page was loading.The site could be temporarily unavailable or too busy. Try again in a few moments.If you are unable to load any pages, check y

[users@httpd] how to deploy custom C modules on Apache

2017-10-10 Thread eeadev dev
I created my custom module starting from an existing module source code; now I need to deploy it in the development environment and later on the test environment. Please I need to know the steps to do that. what should I do other than 1) launching this command: /usr/bin/apxs2 -i -n mymod mymod.

Re: [users@httpd] how to get the expiration date of a cookie

2017-10-06 Thread eeadev dev
is not this meant to be the mailing list of apache? I d need to get this info using C and the apr_library, not java unfortunately 2017-10-06 2:18 GMT-07:00 Suvendu Sekhar Mondal : > On Fri, Oct 6, 2017 at 1:13 PM, eeadev dev wrote: > > I cannot find a place where is written how t

[users@httpd] how to get the expiration date of a cookie

2017-10-06 Thread eeadev dev
I cannot find a place where is written how to get the expiration date of the cookie I set. Please anyone knows how to do that? thanks

Re: [users@httpd] how to simply set a cookie?

2017-09-29 Thread eeadev dev
thank you. yes, it is under the header but what if I want to see it under "cookies". is it possible with apache? 2017-09-29 5:38 GMT-07:00 Eric Covener : > On Fri, Sep 29, 2017 at 8:27 AM, eeadev dev wrote: > > I tried with this function > > > > apr_table

[users@httpd] how to simply set a cookie?

2017-09-29 Thread eeadev dev
I tried with this function apr_table_add(r->headers_out,"Set-Cookie","doodle=hello"); but I am not seeing the cookie I set when querying my website in chrome dev tool under application->storage->Cookies Thanks

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

2017-09-21 Thread eeadev dev
leA where moduleA is my module name. Do u know how to avoid it? thank you again! 2017-09-20 10:47 GMT-07:00 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_alia

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? >>

[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 po

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

2017-09-20 Thread eeadev dev
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 t

[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

Re: [users@httpd] how to get apr_pool_t when need to call ap_md5

2017-09-18 Thread eeadev dev
thank u, Eric. I just saw your reply. 2017-09-07 16:54 GMT-07:00 Eric Covener : > On Thu, Sep 7, 2017 at 12:07 PM, eeadev dev wrote: > > In my function I need to get the checksum using md5. > > > > I saw that there is this function ap_md5(apr_pool_t *a, const unsign

[users@httpd] how to get apr_pool_t when need to call ap_md5

2017-09-07 Thread eeadev dev
In my function I need to get the checksum using md5. I saw that there is this function ap_md5(apr_pool_t *a, const unsigned char *string); but it needs apr_pool_t how can I get it? char key[] = "abc"; key_md5 = ap_md5(mem_pool, key);

[users@httpd] "conditional" client certificate verification

2014-10-02 Thread Clemens Wyss DEV
We are about to introduce client certificates for (optional) authentication. ... SSLOptions +StdEnvVars +ExportCertData SSLCACertificateFile conf/ssl.crt/ca.crt SSLVerifyClient optional SSLVerifyDepth 4 ... Unfortunately Safari@mac has "problems" (apparently a bug) connecting to Apache http

Re: [users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread Dev Raj
ful . I would keep this out of Tomcat, but > thats just me. > > Again, if you have the ability upgrade to 2.4, disable mod_compatibility > and use the require all syntax, it will take more work, but apache has come > a long way sing 2.2. > > > > On Sat, Jan 18, 2014 at 2:

[users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread Dev Raj
Hi, I have Apache 2.2 installed on my Unix Server and have a couple of Application servers running each of them having similar Document Root. For example, The URLS will look like below https://my-test1.com/demo/index.html https://my-prod1.com/demo/index.html https://my-qa1.com/demo/index.html T

[us...@httpd] Silent Installation Windows XP (Prevent Start Menu Items)

2010-08-17 Thread dev
Hello, I am thrilled to finally get the correct parameters to run a complete silent installation of Apache HTTP 2.2 web server. I got the correct MSI switches from the Archive from previous posts in this forum. However, I still have troubles figuring out how to instruct the installer to not creat

Re: [us...@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

2010-02-24 Thread PGNet Dev
On Wed, Feb 24, 2010 at 9:20 AM, Jeff Trawick wrote: > sorry for the duplicate questions np :-) > I opened https://issues.apache.org/bugzilla/show_bug.cgi?id=48811 to > track this issue, in lieu of discussing an obvious bug here; you > probably want to add yourself to the cc list of the bug rep

Re: [us...@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

2010-02-24 Thread PGNet Dev
On Wed, Feb 24, 2010 at 4:27 AM, Jeff Trawick wrote: > Since changing FCGID_MAX_APPLICATION to 4096 didn't help, I guess > you've encountered some sort of defect that causes a false detection > of too many processes.  Although it is not going to solve your > problem, we can improve this particular

[us...@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

2010-02-23 Thread PGNet Dev
I'm running, httpd2 -V Server version: Apache/2.2.14 (Linux/SUSE) Server built: Feb 19 2010 19:43:22 Server's Module Magic Number: 20051115:23 Server loaded: APR 1.3.8, APR-Util 1.3.9 Compiled using: APR 1.3.8, APR-Util 1.3.9 Architecture: 32-bi

[us...@httpd] "ssl_error_handshake_failure_alert" when trying to connect to an apache+modssl subdir with a unique SSL cert ?

2009-06-16 Thread PGNet Dev
(modssl-user list, and it's -owner email are refusing any/all mail. sigh. @#httpd suggested this is the 'right' forum ...) hi, i'm trying to set up modssl-based, unique SSL certificate authentication for a subdirectory @ a shared-host. atm, my setup returns a Server error of, ssl_error

Re: [EMAIL PROTECTED] very basic VirtualHosts config

2007-03-26 Thread Mike Dev
On 3/26/07, Joshua Slive <[EMAIL PROTECTED]> wrote: Your configuration looks basically correct. Your symptoms suggest to me a caching issue. Are you using mod_cache or any other caching? Joshua. Thanks Joshua! Fixed the problem. Your reply got me to start looking elsewhere. (The issue was

[EMAIL PROTECTED] very basic VirtualHosts config

2007-03-26 Thread Mike Dev
Hi, newbie here, probably facing a common/simple problem but I haven't been able to find a solution. :( I'm trying to set up two named virtual hosts to resolve to different document roots. I would like: http://www.domain1.com --> /var/www/domain1/index.html http://www.domain2.com --> /var/www/do

Re: [EMAIL PROTECTED] php and .htaccess

2005-09-15 Thread blackwater dev
t;[EMAIL PROTECTED]> wrote: > blackwater dev wrote: > > > > [Thu Sep 15 04:28:12 2005] [notice] caught SIGTERM, shutting down > > [Thu Sep 15 04:28:15 2005] [notice] Apache/2.0.52 (Unix) PHP/5.0.3 > > configured -- resuming normal operations > > It means : ok. now

[EMAIL PROTECTED] php and .htaccess

2005-09-15 Thread blackwater dev
Ok, I am having problems with .htaccess files. I am trying to set certain php directives using .htaccess files. First it was complaining about several things such as mcrypt and zde: Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down PHP Warning: PHP Startup: Unable to load dynamic

[EMAIL PROTECTED] HTTPS Rewrite Question?

2005-07-26 Thread DEV
can I do that and if so how?   Thank you   UMPA Dev