Re: [users@httpd] mod_proxy_fcgi not honouring .htaccess, work around needed.

2014-07-08 Thread Sergei Franco
Hi Edgar, I found that I was wrong about .htaccess not working inside of tag: RewriteMap and standard rewrite lookup of the user dirs goes here Standard directory conf goes here RewriteRule ^(.*\.php)$ fcgi://IP_OF_THE_FPM:FPM_PORT/$1 [P,L] Basically the sec

Re: [users@httpd] mod_proxy_fcgi not honouring .htaccess, work around needed.

2014-07-08 Thread Sergei Franco
Hi, Here is (redacted) portion of virtual section I use (I replaced real IP address with [IP]): RewriteMap vhost dbm=db:/[somepath]/vhost.db RewriteMap port-fpm dbm=db:/[somepath]/fpmports.db RewriteCond ${lowercase:%{SERVER_NAME}} ^(.+)$ RewriteRule ^.*$ - [E=WEBSITE:%1] RewriteCond ${vhost:%{

Re: [users@httpd] mod_proxy_fcgi not honouring .htaccess, work around needed.

2014-07-08 Thread Edgar Pettijohn
On 07/08/2014 06:00 PM, Sergei Franco wrote: > Hi, > > I am using apache 2.4.7 with mod_proxy_fcgi for purpose of passing > through php to php-fpm (this will be used for shared hosting > environment). > The htaccess works fine for non php files, but once it hit rewrite > rule that proxies through

[users@httpd] mod_proxy_fcgi not honouring .htaccess, work around needed.

2014-07-08 Thread Sergei Franco
Hi, I am using apache 2.4.7 with mod_proxy_fcgi for purpose of passing through php to php-fpm (this will be used for shared hosting environment). The htaccess works fine for non php files, but once it hit rewrite rule that proxies through the php requests, the htaccess is ignored. I know why it i

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-08 Thread Jim Jagielski
What about using the 'lbset' parameter then? On Jul 3, 2014, at 8:58 AM, Federico Calì wrote: > Hi Eric, > > thanks for the hint but I think it's not what I need. > Defining the standby node(s) in the balancer definition I might loss > functionality for these reasons: > > - the JBoss cluster

Re: [users@httpd] mod_auth_ntlm_winbind combined with mod_authnz_ldap

2014-07-08 Thread Eric Covener
On Tue, Jul 8, 2014 at 9:18 AM, Schnyder Stefan (schf) wrote: > 2) Telling mod_authnz_ldap, that a static text (DOMAIN\\) precedes the > username, so mod_authnz_ldap will only look at the part after DOMAIN\\ for a > matching attribute (wxyz) This modificaiton of the username is supported in 2.4's

[users@httpd] mod_auth_ntlm_winbind combined with mod_authnz_ldap

2014-07-08 Thread Schnyder Stefan (schf)
Hello list! I'm having difficulty getting mod_authnz_ldap to work with mod_auth_ntlm_winbind and I was hoping someone could provide some insight. I have the task to configure Single-Sign-On for our intranet site, while at the same time restricting certain directories to users of an LDAP group.

RE: [users@httpd] Retrieve the username which got authenticated by the apache

2014-07-08 Thread Brian Gaber
“more better” ☺ Did you try $ENV{REMOTE_USER} From: Rahul R [mailto:rahul.ra...@gmail.com] Sent: Tuesday, July 08, 2014 7:49 AM To: users@httpd.apache.org Subject: [users@httpd] Retrieve the username which got authenticated by the apache Not sure this is the right place to ask this question or

[users@httpd] Retrieve the username which got authenticated by the apache

2014-07-08 Thread Rahul R
Not sure this is the right place to ask this question or not. I have an apache 2.2 setup with LDAP auth enabled. The html form in the front end takes some values and processes them using perl script in the background. Is there a way I can get the username which is submitting the values in that per