Re: [users@httpd] Remote_Port not recognized by SetEnvIf?

2017-11-23 Thread Daniel
Thank you so much for your answer. Definetly works using the expression parser, at the end I just needed a simple: Header set RPHdrname "expr=%{REMOTE_PORT}" 2017-11-23 12:56 GMT+01:00 Konstantin Kolinko : > 2017-11-23 14:07 GMT+03:00 Daniel : >> Hello, >> >> I'm trying to make a test using the

[users@httpd] Using variables with mod_substitute to rewrite dynamically

2017-11-23 Thread Vlad Liapko
Hi, I’m trying to substitute a server name dynamically in xml responses Substitute s|http://blah.com|${SERVER_NAME}|n to now success. Apache complains conf variable is not defined, but it is there in VirtualHost. So far I was able only to use and put a specific substitute for a specific host.

Re: [users@httpd] Remote_Port not recognized by SetEnvIf?

2017-11-23 Thread Konstantin Kolinko
2017-11-23 14:07 GMT+03:00 Daniel : > Hello, > > I'm trying to make a test using the REMOTE_PORT variable introduced in > 2.4.26 according to the docs: > http://httpd.apache.org/docs/2.4/expr.html#vars > > Problem I find is I can set this up easily with mod_rewrite. > > " > RewriteEngine on > Rewri

[users@httpd] Remote_Port not recognized by SetEnvIf?

2017-11-23 Thread Daniel
Hello, I'm trying to make a test using the REMOTE_PORT variable introduced in 2.4.26 according to the docs: http://httpd.apache.org/docs/2.4/expr.html#vars Problem I find is I can set this up easily with mod_rewrite. " RewriteEngine on RewriteRule .* - [E=REMOTE_PORT:%{REMOTE_PORT},NE] Header se

[users@httpd] Aapche with c99 or c11

2017-11-23 Thread Hemant Chaudhary
Hi All, I have compiled my apache with c99 and its working fine. I am planning to use c11 compiler also. Is there any impact will occur if I use c11 in place of c99 ? Few more questions : 1) My apr is not supporting sendfile,random and mmap. What will be the impact ? 2) When I am sending request