[users@httpd] SSL Client Cert Authentication - SSLRequires

2017-02-24 Thread Bharath.C.Kolla
We have a client cert that contains multiple OU's (3 to be specific), but we just need to construct a substring for SSLRequire to evaluate 2 specific OU's from the OU list. I tried using: SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "abc" \ and %{SSL_CLIENT_S_DN_OU} in {"test1","dev","apacheorg

Re: [users@httpd] mod_lua and subprocess_env

2017-02-24 Thread Andrei Ivanov
On Feb 24, 2017 22:54, "Yann Ylavic" wrote: On Fri, Feb 24, 2017 at 6:50 PM, Andrei Ivanov wrote: > > I've managed to apply your patch and rebuild Apache and now I have: > Header set Client-IP "expr=%{REMOTE_ADDR}" > Header set Client-SAN "expr=%{PeerExtList:2.5.29.17}" > Header set Client-DN "e

Re: [users@httpd] mod_lua and subprocess_env

2017-02-24 Thread Yann Ylavic
On Fri, Feb 24, 2017 at 6:50 PM, Andrei Ivanov wrote: > > I've managed to apply your patch and rebuild Apache and now I have: > Header set Client-IP "expr=%{REMOTE_ADDR}" > Header set Client-SAN "expr=%{PeerExtList:2.5.29.17}" > Header set Client-DN "expr=%{SSL_CLIENT_S_DN}" Could you please add:

Re: [users@httpd] mod_lua and subprocess_env

2017-02-24 Thread Andrei Ivanov
On Wed, Feb 22, 2017 at 5:10 PM, Yann Ylavic wrote: > On Wed, Feb 22, 2017 at 3:19 PM, Andrei Ivanov > wrote: > > On Wed, Feb 22, 2017 at 3:36 PM, Yann Ylavic > wrote: > >> > >> My bad, please try without the parentheses: > >> > >> Require expr "'IP Address:' . %{REMOTE_ADDR} -in > >> PeerE

Re: [users@httpd] Adding static module in Apache-2.4.23

2017-02-24 Thread Hemant Chaudhary
Hi Yes my environment is not supporting shared library. For recompiling the server how should I proceed On Feb 24, 2017 8:12 PM, "Eric Covener" wrote: > On Fri, Feb 24, 2017 at 4:31 AM, Hemant Chaudhary > wrote: > > > > I am trying to add foo module in my apache server using apxs. But I am >

Re: [users@httpd] Adding static module in Apache-2.4.23

2017-02-24 Thread Eric Covener
On Fri, Feb 24, 2017 at 4:31 AM, Hemant Chaudhary wrote: > > I am trying to add foo module in my apache server using apxs. But I am not > able to create .so file of module. But it creates mod_foo.a and mod_foo.la. > Because mod_foo.so is not present, I am unable to write "LoadModule mod_foo > /mo

Re: [users@httpd] php curl

2017-02-24 Thread Roman Gelfand
This is fixed. I had to disable selinux on the web server. On Fri, Feb 24, 2017 at 8:38 AM Roman Gelfand wrote: > correction... I am getting Curl error: Failed to connect to : Permission > denied > > > On Fri, Feb 24, 2017 at 5:30 AM Roman Gelfand wrote: > > How do you configure Apache to exec

Re: [users@httpd] php curl

2017-02-24 Thread Roman Gelfand
correction... I am getting Curl error: Failed to connect to : Permission denied On Fri, Feb 24, 2017 at 5:30 AM Roman Gelfand wrote: > How do you configure Apache to execute scripts? > > In the least, it looks like curl get request doesn't get executed. > > On Fri, Feb 24, 2017, 3:11 AM Marat K

RE: [users@httpd] Apache upgrade on Aix

2017-02-24 Thread Chunduru, Krishnachaithanya
Hi All, Can someone please help me on the below. I have configured the apr and apr-util from the source, and now I want to remove them. can we uninstall them, if yes please let me know how. Thanks, Krishna -Original Message- From: Chunduru, Krishnachaithanya [mailto:krishnachaithany

Re: [users@httpd] php curl

2017-02-24 Thread Roman Gelfand
How do you configure Apache to execute scripts? In the least, it looks like curl get request doesn't get executed. On Fri, Feb 24, 2017, 3:11 AM Marat Khalili wrote: > it appears that get request never gets executed You didn't write what happens. Does your PHP code gets executed at all? One co

[users@httpd] Adding static module in Apache-2.4.23

2017-02-24 Thread Hemant Chaudhary
Hi I am trying to add foo module in my apache server using apxs. But I am not able to create .so file of module. But it creates mod_foo.a and mod_foo.la. Because mod_foo.so is not present, I am unable to write "LoadModule mod_foo /module/mod_foo.so" in httpd.conf. My all modules built are static.

RE: [users@httpd] RE: multiple hits from single IP

2017-02-24 Thread Chaithanya Taduri
Hi, Also let me help in killing sessions. If I have session id, which I get my access logs of apache, how can kill the session of user to cut the hits from him. Thanks & Regards, Chaithanya Taduri GORDON Application Tata Consultancy Services Mobile: +91 8019519625 Extension: +91 84146 11994

Re: [users@httpd] php curl

2017-02-24 Thread Marat Khalili
it appears that get request never gets executed You didn't write what happens. Does your PHP code gets executed at all? One common error is not configuring Apache to recognize scripts in the first place. -- With Best Regards, Marat Khalili -