[users@httpd] mod_fcgid + daemon implemented in C

2012-05-09 Thread Henrik Strand
Hi, I want to use mod_fcgid (http://httpd.apache.org/mod_fcgid/) with a daemon implemented in C. Is there a lib available like the one from the FastCGI project (http://www.fastcgi.com/) to use for a fcgi_accept() function? Or do I have to implement one myself? Thanks in advance. Kind Regards,

[users@httpd] gen_test_char: cannot execute binary file

2012-03-05 Thread Henrik Strand
Hi! When porting/cross-compiling the Apache HTTP Server the build fails with the following error message: /bin/sh: ./gen_test_char: cannot execute binary file. This is due to that the gen_test_char is compiled with the cross-compiler but executed on the build system. This error has been around

[users@httpd] Cross-Site Request Forgery

2012-02-20 Thread Henrik Strand
Hi, What are your best practices against Cross-Site Request Forgery? According to owasp.org a CSRFToken should be generated and added as a hidden form value. Does Apache Httpd support this out-of-the-box (incl. validation of the token for each subsequent request until the session expires)?

[users@httpd] Socket transfer from Apache httpd to a non-httpd process

2011-05-26 Thread Henrik Strand
Hi, I would like to transfer the file/socket descriptor for a client connection from the Apache httpd process to a non-httpd process running on the same system as Apache httpd, thus transferring the server response responsibility from Apache httpd to the non-httpd process. Does Apache httpd

Re: [users@httpd] Socket transfer from Apache httpd to a non-httpd process

2011-05-26 Thread Henrik Strand
Sorry. I forgot to mention that the implementation needs to be done in C. Best Regards, Henrik On Thu, 2011-05-26 at 11:13 +0200, Torsten Förtsch wrote: On Thursday, May 26, 2011 10:01:35 Henrik Strand wrote: I would like to transfer the file/socket descriptor for a client connection from