Re: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Виталий Фадеев
also, i you set AllowOverride None and AllowOverrideList None or just AllowOverride None there is still .htaccess reading. I found this by attach strace to apache pid. i.e. strace -e trace=open,read -p 9738 -s 80 -o /root/trace3.txt grep htaccess /root/trace3.txt: open("/var/www/development/.htac

Re: [users@httpd] Rewrite domain to language specific page but no address bar redirection

2016-03-30 Thread Christian Hettler
Hello Alexandru, On Tue, Mar 29, 2016 at 01:23:54PM +0300, Alexandru Duzsardi wrote: > I'm not sure what you mean > For now I can't figure it out why does it behave like this ... if I try to > access http://lang-fr.domain.com/ It says that /fr/index.php does not exist , > I would like it to no t

Re: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Luca Toscano
Hi again! > +dev@ to get their opinion! Bug in documentation or small fix required? > (or > > me missing something?) > https://bz.apache.org/bugzilla/show_bug.cgi?id=58528 seems to be very similar and a patch is attached. We can follow up on it adding a use case or just openinig a new one. Thank

RE: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Plüm , Rüdiger , Vodafone Group
But the attached patch is not correct. IMHO it needs to be Index: request.c === --- request.c (revision 1735931) +++ request.c (working copy) @@ -1009,7 +1009,9 @@ /* No htaccess in an incomplete root path,

Re: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Daniel Ruggeri
On 3/29/2016 11:41 AM, Kees Nuyt wrote: > Looks like a bug to me. I wouldn't call it a ducumentation bug, > as totally ignoring .htaccess is what one would want to do, > because it (also) has performance advantages. > > As a workaround, you could change the access file name httpd is > looking for,

Re: [users@httpd] Strange with AllowOverrideList Directive

2016-03-30 Thread Daniel Ruggeri
I'm assuming that compiler optimizations would make both patches "six to one, half dozen to the other" as far as code path followed during the request cycle... but I agree. Fixed in trunk in r1737114 and proposed for backport in 2.4 in STATUS. -- Daniel Ruggeri On 3/30/2016 8:02 AM, Plüm, Rüdig

[users@httpd] ProxyPassMatch and space in path to a file socket

2016-03-30 Thread Ghislain
hi, I have ProxyPassMatch redirecting to a file socket to a php FPM process. The issue i have is that the ProxyPassMatch support sockets but it send the URL with encoding. Therefor "my list.php" is sent as "my%20list.php" then making it a 404 not found. I use ProxyPassMatch ^/(.*\.ph

Re: [users@httpd] ProxyPassMatch and space in path to a file socket

2016-03-30 Thread Stormy
At 04:02 PM 3/30/2016 +0200, Ghislain wrote: hi, I have ProxyPassMatch redirecting to a file socket to a php FPM process. The issue i have is that the ProxyPassMatch support sockets but it send the URL with encoding. Therefor "my list.php" is sent as "my%20list.php" then making it a 404

Re: [users@httpd] ProxyPassMatch and space in path to a file socket

2016-03-30 Thread Ghislain
Le 30/03/2016 16:26, Stormy a écrit : At 04:02 PM 3/30/2016 +0200, Ghislain wrote: hi, I have ProxyPassMatch redirecting to a file socket to a php FPM process. The issue i have is that the ProxyPassMatch support sockets but it send the URL with encoding. Therefor "my list.php" is sent as

Re: [users@httpd] ProxyPassMatch and space in path to a file socket

2016-03-30 Thread Eric Covener
On Wed, Mar 30, 2016 at 10:02 AM, Ghislain wrote: > I tried to modify things but was not able to find a solution to this. Is > there a secret option to make it send the path unencoded ? Maybe the no-canon (sp) option on ProxyPass? ---

Re: [users@httpd] .so modules not being created Apache 2.4.18

2016-03-30 Thread Yann Ylavic
On Tue, Mar 29, 2016 at 9:51 PM, Leonay Wynn wrote: > ok did that and make got an error. is it telling me to recompile openssl > with the -fPIC option?? > > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s3_srvr.o): relocation R_X86_64_32 > against `a local symbol' can not be used when making a shared o

Re: [users@httpd] .so modules not being created Apache 2.4.18

2016-03-30 Thread Leonay Wynn
Nope...and trying that now. thanks Yann! On Wed, Mar 30, 2016 at 1:26 PM, Yann Ylavic wrote: > On Tue, Mar 29, 2016 at 9:51 PM, Leonay Wynn wrote: > > ok did that and make got an error. is it telling me to recompile openssl > > with the -fPIC option?? > > > > /usr/bin/ld: /usr/local/ssl/lib/lib

Re: [users@httpd] .so modules not being created Apache 2.4.18

2016-03-30 Thread Leonay Wynn
Yes! it works. thank you for your help Yann. Appreciate you On Wed, Mar 30, 2016 at 1:46 PM, Leonay Wynn wrote: > Nope...and trying that now. thanks Yann! > > On Wed, Mar 30, 2016 at 1:26 PM, Yann Ylavic wrote: > >> On Tue, Mar 29, 2016 at 9:51 PM, Leonay Wynn wrote: >> > ok did that and make

[users@httpd] Load balancing based on header value

2016-03-30 Thread Niranjan Rao
Greetings, My first post to this mailing list. I have apache2 load balancing working perfectly based on session affinity. Traffic does get directed properly to appropriate tomcat server. We are trying to use same servers to serve some REST API calls. These calls don't have a session, however

Re: [users@httpd] Load balancing based on header value

2016-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 3/30/16 2:15 PM, Niranjan Rao wrote: > Greetings, > > My first post to this mailing list. > > I have apache2 load balancing working perfectly based on session > affinity. Traffic does get directed properly to appropriate tomcat > serve

Re: [users@httpd] Load balancing based on header value

2016-03-30 Thread Niranjan Rao
I am using AJP to connect to tomcat. Entry in the config file looks like BalancerMember ajp://myserver:8009 route=node2 ProxySet lbmethod=bytraffic ProxySet stickysession=JSESSIONID Hope this answers your question. Regards, Niranjan On 03/30/2016 11:50 AM, Christoph

Re: [users@httpd] Load balancing based on header value

2016-03-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 3/30/16 3:02 PM, Niranjan Rao wrote: > I am using AJP to connect to tomcat. > > Entry in the config file looks like > > BalancerMember ajp://myserver:8009 > route=node2 ProxySet lbmethod=bytraffic ProxySet > stickysession=JSESSIONID >