Re: [users@httpd] Persistent proxied connections with Apache 2.4.x?

2015-10-26 Thread o haya
Hi, I must be doing a lot of "praying", because so far I am not able to cause a problem, at least trying to run 3 different clients. I don't think that I can actually get the NTLM authentications to occur simultaneously, but I'm pretty sure the sessions are simulataneous, at least part of the

Re: [users@httpd] apache 2.4 directory autoindex corrupted

2015-10-26 Thread Eric Covener
On Fri, Oct 16, 2015 at 9:14 AM, Jan Schaumann wrote: > Has anybody seen this or have any ideas? Pretty odd, can you strace/truss and see what comes back for readdir/stat/??? Maybe httpd/APR is compiled against some weird non-ABI compatible system headers? -

Re: [users@httpd] Re: apache 2.4 directory autoindex corrupted

2015-10-26 Thread Kurtis Rader
On Mon, Oct 26, 2015 at 7:41 PM, Jan Schaumann wrote: > Jan Schaumann wrote: > > > I just upgraded apache 2.2 to apache 2.4. After the upgrade, my > > autoindex directory listings show up as corrupted strings (see > > https://www.netmeister.org/t/ for an example). All other content > > serving

[users@httpd] Re: apache 2.4 directory autoindex corrupted

2015-10-26 Thread Jan Schaumann
Jan Schaumann wrote: > I just upgraded apache 2.2 to apache 2.4. After the upgrade, my > autoindex directory listings show up as corrupted strings (see > https://www.netmeister.org/t/ for an example). All other content > serving appears to work fine. It turns out I was wrong. All other conte

Re: [users@httpd] Persistent proxied connections with Apache 2.4.x?

2015-10-26 Thread o haya
Hi Yann, Thank you for responding (with lots of info!). First of all, I have to apologize for top-posting. I am using Yahoo mail, and it doesn't seem to allow quoted responses, which makes things kind of difficult (i.e., very difficult to intersperse comments since they don't mark the quoted

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread David Aronchick
FWIW, I went another way here - with apache. Rather than pegging the container to apache running, I used Kubernetes to health check the app, and simply catted out the log files to stdio. It's not really the "docker-way" of one process per container, but it's working pretty well. The idea was that,

Re: [users@httpd] Persistent proxied connections with Apache 2.4.x?

2015-10-26 Thread Yann Ylavic
Hi Jim, sorry for the late, I'm not much online these days. On Sun, Oct 25, 2015 at 9:54 PM, o haya wrote: > > - With respect to proxying NTLM authentication, does the "aside connections" > functionality that was mentioned earlier accomplish the same thing as using > the "Proxy keepalive=On and

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Nick Kew
On Mon, 26 Oct 2015 07:33:30 -0700 Kurtis Rader wrote: > I don't understand what the problem is. If you're starting a single-program > to do exactly one task (e.g., server individual HTTP requests serially) That's an unusual use for a general-purpose webserver. However, it's perfectly possible.

Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Itamar Gal
Hey Eric, Thank you for the advice. You hit the nail on the head. The Ubuntu Apache installation comes pre-configured with a catch-all default virtual-host which apparently (as you said) was not inheriting the rewrite settings. Copy-pasting the identical configuration settings into the virtual-hos

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Yehuda Katz
Unsubscribe: email users-unsubscr...@httpd.apache.org - Y On Mon, Oct 26, 2015 at 11:13 AM, DeLeon, Rose L wrote: > Please do not email me anymore > > > > > > > > *From:* Kurtis Rader [mailto:kra...@skepticism.us] > *Sent:* Monday, October 26, 2015 7:34 AM > *To:* users@httpd.apache.org > *Subj

RE: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread DeLeon, Rose L
Please do not email me anymore From: Kurtis Rader [mailto:kra...@skepticism.us] Sent: Monday, October 26, 2015 7:34 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Running Apache in Single Process Mode for Docker Container? On Sun, Oct 25, 2015 at 9:09 PM, David Aronchick mailto:aron

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Kurtis Rader
On Sun, Oct 25, 2015 at 9:09 PM, David Aronchick wrote: > I hadn't thought of the fact that apache would be architected to use its > multiple threads as an internal housekeeping (instead of just to allow > parallelization of requests). > You misunderstood me. I don't know that the extra threads

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Eric Covener
On Sun, Oct 25, 2015 at 11:17 PM, David Aronchick wrote: > /usr/sbin/apache2 -DFOREGROUND -DNO_DETACH -f /etc/apache2/apache2.conf There's also -DONE_PROCESS. But like the others, it's meant for debugging. I wouldn't turn all of these on to pass some docker/microservices purity test. ---

Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Yehuda Katz
It also looks from the access log that the request is actually coming with HTTP/1.1: $ sudo tail -1 /var/log/apache2/access.log > 127.0.0.1 - - [25/Oct/2015:18:13:16 +] "GET / HTTP/1.1" 200 402 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 libr

Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Eric Covener
On Mon, Oct 26, 2015 at 9:15 AM, Itamar Gal wrote: > /etc/apache2/conf.d/security Unlike most other settings,. Rewrite rules are not automatically inherited from the base config to virtual hosts. - To unsubscribe, e-mail: users-

[users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Itamar Gal
Hey Apache webmasters, Here's the tldr: I'm testing a simple catch-all rewrite rule. It doesn't seem to be taking effect, it's not being logged and I'm not getting any errors. Now here's the long version. I'm a junior-level Linux systems administrator trying to gain a better understanding of how

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Nick Kew
On Sun, 2015-10-25 at 15:55 -0700, David Aronchick wrote: > Is it possible (or inadvisable) to run apache using > the /usr/sbin/apache binary directly? Is there any significant > production issues that might arise? Your working shell environment gets inherited by the server. That could be a securi