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 wrote: > 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

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 down

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 sho

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

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 mailto:cove...@gmail.com>> wrote: On Mon, Oct 20, 2014 at 7:58 AM, Patton, Billy N mailto:billy.pat...@h3net.com>> wrote: if (!r->handler || strcmp(r->handler, "example-handler")) return (DECLINED); It's looki

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 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 compiles/installs as >> mo

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 mo

Re: [users@httpd] C module

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

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

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 sometime

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 ;exten