Re: [users@httpd] Apache PHP configuration

2014-10-20 Thread Hendrik Schmieder
Ted Hickox schrieb: I'm trying to connect PHP to Apache. I have Windows 7 Ultimate. I used the thread safe windows binary PHP download. It was the latest download. I then downloaded Notepad ++ and opened PHP.ini. Using Notepad ++ I searched for the word _dir. Once I found it, I found

AW: [users@httpd] Apache HTTPD sends a 400 the client gets a 200

2014-10-20 Thread Fiedler Roman
Hello Tom, Von: Tom Purcell [mailto:tpurc...@chariotsolutions.com] Hello We have an application that consists of REST endpoints on a jboss server(5.1.0) fronted by Apache httpd(2.2.15). When a client makes a bad request it usually gets the expected 400 http response code but sometimes the

[users@httpd] C module

2014-10-20 Thread Patton, Billy N
I’m new to Apache. I’ve gotten mod_perl, php, cgi and html to do my hello world. I’m now trying to get a “c” module to print a simple “hello world”. I know there is something very simple I’m missing. I’ve read explanations and examples till they all seem to say the same thing. I’ve copied

Re: [users@httpd] C module

2014-10-20 Thread Eric Covener
On Mon, Oct 20, 2014 at 7:58 AM, Patton, Billy N billy.pat...@h3net.com wrote: if (!r-handler || strcmp(r-handler, example-handler)) return (DECLINED); It's looking for ​SetHandler​ example-handler. -- Eric Covener cove...@gmail.com

Re: [users@httpd] C module

2014-10-20 Thread Issac Goldstand
On 20/10/2014 14:58, Patton, Billy N wrote: But when the actions you want to take are in the module, how do I call it? Since my file.c is called mod_example.c and it compiles/installs as mod_example.so Do I need a bogus file IE mod_example Then set a handle for mod_example where

Re: [users@httpd] C module

2014-10-20 Thread Patton, Billy N
Thanks, my hello world is now working :) On Oct 20, 2014, at 7:15 AM, Issac Goldstand mar...@beamartyr.net wrote: On 20/10/2014 14:58, Patton, Billy N wrote: But when the actions you want to take are in the module, how do I call it? Since my file.c is called mod_example.c and it

Re: [users@httpd] C module

2014-10-20 Thread Patton, Billy N
Thanks, my hello world is now working. On Oct 20, 2014, at 7:03 AM, Eric Covener cove...@gmail.commailto:cove...@gmail.com wrote: On Mon, Oct 20, 2014 at 7:58 AM, Patton, Billy N billy.pat...@h3net.commailto:billy.pat...@h3net.com wrote: if (!r-handler || strcmp(r-handler,

Re: [users@httpd] Apache HTTPD sends a 400 the client gets a 200

2014-10-20 Thread Tom Purcell
Roman I've used several clients (curl, a java application, postman) as well as the mobile apps. All exhibit the same behavior: sometimes returning a 200 when a 400 is expected. I ran tcpdump on the server this morning. It shows no difference between properly reported 400s and incorrect 200s. On

AW: [users@httpd] Apache HTTPD sends a 400 the client gets a 200

2014-10-20 Thread Fiedler Roman
Von: Tom Purcell [mailto:tpurc...@chariotsolutions.com] Roman I've used several clients (curl, a java application, postman) as well as the mobile apps. All exhibit the same behavior: sometimes returning a 200 when a 400 is expected. I ran tcpdump on the server this morning. It shows no

Re: [users@httpd] Apache PHP configuration

2014-10-20 Thread Ted Hickox
I'm using PHP 5.5 (I think that's the latest one.) and Apache 2.4 On Mon, Oct 20, 2014 at 2:47 AM, Hendrik Schmieder hendrik.schmie...@jedox.com wrote: Ted Hickox schrieb: I'm trying to connect PHP to Apache. I have Windows 7 Ultimate. I used the thread safe windows binary PHP download.

Re: [users@httpd] Apache PHP configuration

2014-10-20 Thread Néstor
is confusing because you say that you found your apache folder 2.2 and then you are using php5apache2_4 Which apache are you using 2.2 or 2.4? On Mon, Oct 20, 2014 at 8:06 PM, Ted Hickox megeli...@gmail.com wrote: I'm using PHP 5.5 (I think that's the latest one.) and Apache 2.4 On Mon, Oct