[users@httpd] compiling apache on ubuntu

2017-05-23 Thread Roberto Marzialetti
hi all! i try to compile Apache 2.2.32 on: [code] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS" NAME="Ubuntu" VERSION="16.04.2 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.2 LTS" VERSION_ID="16.04" [/code] this

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Ken Mycock
Eric It seems to make sense that REMOTE_USER wasn't set when the rule I tried in htaccess ran, as that would explain RU not being set. But, REMOTE_USER must be set by Apache, even if it is late in the sequence, so where/how can I get at it? Ken On 23/05/2017 18:43, Eric Covener wrote: On

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Eric Covener
On Tue, May 23, 2017 at 1:41 PM, Ken Mycock wrote: > didn't set the RU environment variable either, so it's perhaps more > fundamental than not being allowed to rewrite REMOTE_USER. IIUC It does not exist as an environment variable until right before the CGI is executed.

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Ken Mycock
Rainer Thanks, but unfortunately that didn't work. Does have any relevance here? Changing the rule to: RewriteCond %{REMOTE_USER} ^0*([1-9][0-9]+) RewriteRule ^ - [env=RU:%1] didn't set the RU environment variable either, so it's perhap

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Eric Covener
In case rewrite does not work at all, you could call your scripts via "Action" and change the environment in a simple shell script. (the likely reason changing REMOTE_USER is hard is related to when it is set from internal variables and when things have a chance to override it) --

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Rainer Canavan
On Tue, May 23, 2017 at 2:10 PM, Ken Mycock wrote: [...] > Hence, we need to allow authentication of either form of number but to strip > leading zeros from the number stored in REMOTE_USER. > > I've tried various combinations of: > RewriteCond %{REMOTE_USER} ^0*([1-9][0-9]+) > RewriteRule ^0*([1

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
Yes , i looked at the configure script again , i was used to seeing some mpm in the name when listing the loaded modules :) I don’t think i ever compliled apache with statically linked mpm modules , sorry for the confusion. >From the configure script help: --with-mpm=MPM Choos

Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Velmurugan Dhakshnamoorthy
hi, here is the list of loaded modules.seems, there is a mpm_event_module is enabled. but I would like to use prefork module to do some testing on connection queuing. how do I move forward now? please suggest. core_module (static) so_module (static) http_module (static) mpm_event_module (stat

Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Daniel
event.c is mpm_event compiled in. 2017-05-23 14:35 GMT+02:00 Alexandru Duzsardi : > Although not sure what event.c is , since there is no module with that > identifier and the mpm module should have been named somthing like > mpm_name_module > > To be sure , you should also check your log files an

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
Although not sure what event.c is , since there is no module with that identifier and the mpm module should have been named somthing like mpm_name_module To be sure , you should also check your log files and see if it says something about mpm_event when starting apache. From: Velmurugan

Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Daniel
2017-05-23 14:28 GMT+02:00 Alexandru Duzsardi : > That’s good , no mpm compiled in . > > What about httpd –M ? > It clearly says event.c So yes, mpm compiled in. -- Daniel Ferradal IT Specialist email dferradal at gmail.com linkedin es.linkedin.com/in/danielferradal ---

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
That’s good , no mpm compiled in . What about httpd –M ? From: Velmurugan Dhakshnamoorthy [mailto:dvel@gmail.com] Sent: Tuesday, May 23, 2017 2:38 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module the output is as follows. Comp

[users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Ken Mycock
I am involved in migrating a legacy site, using Apache authentication and cgi scripts, to a CMS based site which uses its own access control. The legacy site used membership numbers as the user name, but the CMS site uses zero padded versions of those numbers. So a user logging in to the lega

Re: [users@httpd] Re: Reg : Limiting http connections at Apache 2.4.25

2017-05-23 Thread Daniel
You should not "compile in" any MPM, compile them all as modules and load one in configuration. That just reveals you probably didn't use "--enable-mpms-shared" As per configure script help: --with-mpm=MPM Choose the process model for Apache to use by default.

Re: [users@httpd] Re: Reg : Limiting http connections at Apache 2.4.25

2017-05-23 Thread Velmurugan Dhakshnamoorthy
Hi, Is there any parameter to be enabled for Apache to identify the back-end connection as a persistent. Is Apache proxy connections stateless? when using mod_qos, I need Apache to consider ONLY the persistent connection for any restrictions related connections. Regards, Vel Regards, Velmurugan

Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Velmurugan Dhakshnamoorthy
the output is as follows. Compiled in modules: core.c mod_so.c http_core.c event.c Regards, Vel Regards, Velmurugan Dhakshnamoorthy (Vel) Singapore. On Tue, May 23, 2017 at 4:24 PM, Alexandru Duzsardi < alexandru.duzsa...@pitechnologies.ro> wrote: > What is the output of > > > > http

Re: [users@httpd] http/2 vs. Headername

2017-05-23 Thread Hajo Locke
Hello, thanks for this hint. I compiled v1.10.5 and replaced version which is bundled with apache 2.4.25. It seems to work now. Browsers and curl show webpage now. So i think we will have this bugfix already included in next version which

Re: [users@httpd] http/2 vs. Headername

2017-05-23 Thread Luca Toscano
Hi Hajo, any chance that you could download/build/test the latest release of https://github.com/icing/mod_h2/releases ? Luca 2017-05-23 11:30 GMT+02:00 Hajo Locke : > Hello, > > no one has an idea? Currently i believe this is a kind of apache bug. > I compiled curl with http2 Support to view mo

Re: [users@httpd] http/2 vs. Headername

2017-05-23 Thread Hajo Locke
Hello, no one has an idea? Currently i believe this is a kind of apache bug. I compiled curl with http2 Support to view more debugdetails: curl -v --http2 https://example.com/ * Trying ip.ip.ip.ip... * Connected to example.com (ip.ip.ip.ip) port 443 (#0) * found 173 certificates in /etc/ssl/c

RE: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Alexandru Duzsardi
What is the output of httpd -l (that’s a lowercase -L) From: Luca Toscano [mailto:toscano.l...@gmail.com] Sent: Tuesday, May 23, 2017 11:12 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module Hi! Probably you have a

Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Luca Toscano
Hi! Probably you have another LoadModule some-mpm in one of the included files (look for Include in your httpd config), can you double check? Luca 2017-05-23 10:07 GMT+02:00 Velmurugan Dhakshnamoorthy : > But, I am loading only one, others are commented out. > > Thanks. > > On May 23, 2017 14

Re: [users@httpd] Apache HTTP Server - 2.4.15-mod_prefork module

2017-05-23 Thread Velmurugan Dhakshnamoorthy
But, I am loading only one, others are commented out. Thanks. On May 23, 2017 14:36, "Daniel" wrote: > Of course, you should not load different mpm modules, only one at a > time. Load only the one you need. > > 2017-05-23 6:02 GMT+02:00 Velmurugan Dhakshnamoorthy : > > thanks, I installed the