[users@httpd] mod_ldap SNI ? Google LDAP server ?

2023-04-05 Thread David Tkacik
Hello :) I’m running Apache/2.4.55 with mod_ldap.x86_64 2.4.55-1.amzn2 I’m trying to make to work the ldap over SSL to LDAP provided by Google. But unfortunately no success. Via plain LDAP using stunnel all works as expected. But using SSL directly in httpd doesn’t work. I think it may have

Re: [users@httpd] AWS Network Loadbalancer’s ProxyProtocol V2 and HTTPD mod_remoteip

2019-10-17 Thread David Tkacik
t 9:04 AM David Tkacik > mailto:dtka...@healthcoachinstitute.com>> > wrote: > > But when I try to connect I’m getting 400 Bad Request > > Change your Apache LogLevel to 'debug' and repeat the attempt, examine the > error log and feel free to quote it here for further guidance.

[users@httpd] AWS Network Loadbalancer’s ProxyProtocol V2 and HTTPD mod_remoteip

2019-10-17 Thread David Tkacik
Hey Guys, I’m trying to make it work the AWS Network Loadbalancer’s ProxyProtocol V2 and httpd. I’m using the server version: Apache/2.4.39 (Amazon) With mod_remoteip module loaded and enabled with the configuration directive RemoteIPProxyProtocol On within the main server config. What I was

Re: [users@httpd] Rewrite with proxy adds document root

2018-09-24 Thread David Tkacik
; "proxied" RewriteRule ^/123/(.*) "https://${HOST}$1; [QSD,P,L] RewriteCond %{QUERY_STRING} ^456 [NC] RequestHeader set "X-API-KEY” “different-api-key" RewriteRule ^/456/(.*) "https://${HOST}$1; [QSD,P,L] Thanks ! > On 24 Sep 2018, at 16:28, Eric Covener wrote:

[users@httpd] Rewrite with proxy adds document root

2018-09-24 Thread David Tkacik
I have this config included via Include conf.d/myconfig/*.conf within my virtualhost. ProxyAddHeaders off RewriteEngine on RewriteCond %{QUERY_STRING} ^123 [NC] RequestHeader set "X-API-KEY" "proxied" RewriteRule (.*) "https://${HOST}$1; [QSD,P,L] But the above rule is also proxying the

[users@httpd] Redirect Permanent

2018-06-14 Thread David Tkacik
Hey Guys, I’m running Apache/2.4.33 on RHEL I have this config: ServerName "${APACHE_HOSTNAME}" Redirect permanent / https://${APACHE_HOSTNAME}/ ServerName "${APACHE_HOSTNAME}" When I do CURL to that localhost on port 80 it gives me back this: 301 Moved

Re: [users@httpd] Re: RedirectMatch escaping AMP ?

2018-05-18 Thread David Tkacik
t;cove...@gmail.com> wrote: > > On Fri, May 18, 2018 at 8:00 AM, David Tkacik > <dtka...@healthcoachinstitute.com> wrote: >> Could someone help me where the is comming from ? I’ve tried >> RewriteRules and the outcome is the same. > > It's escaping the literal &

[users@httpd] Re: RedirectMatch escaping AMP ?

2018-05-18 Thread David Tkacik
Could someone help me where the is comming from ? I’ve tried RewriteRules and the outcome is the same. Thanks ! > On 18 May 2018, at 11:28, David Tkacik <dtka...@healthcoachinstitute.com> > wrote: > > Hello Guys, > > I have a condition like this: > > Redirect

[users@httpd] RedirectMatch escaping AMP ?

2018-05-18 Thread David Tkacik
Hello Guys, I have a condition like this: RedirectMatch ^/g/(.*) https : //www.${APACHE_HOSTNAME}/folder1/?ec=$1=EBH=GCC So

Re: [users@httpd] RemoteIPInternalProxy / RemoteIPTrustedProxy

2017-12-18 Thread David Tkacik
Eric, Thanks a lot for your answer. David > On 18 Dec 2017, at 13:57, Eric Covener wrote: > >> BUT, when I set this Apache stops logging the remote IP because the >> forwarding proxy is valid now ? > >> LogFormat "%h (%{X-Forwarded-For}i) %l %u %t \"%r\" %>s %b

[users@httpd] RemoteIPInternalProxy / RemoteIPTrustedProxy

2017-12-18 Thread David Tkacik
Hi, I'm using the RemoteIPHeader X-Forwarded-For within a VirtualHost configuration in order to determine GEO location of our users within our PHP application. But I also would like to log the Remote IP of the clients within the apache logs. The Apache combined log format looks like this: