Re: [users@httpd] server-status page: meaning of "W" in multitier architecture

2013-09-03 Thread Tom Evans
On Tue, Sep 3, 2013 at 7:34 AM, Massimiliano De Ruosi wrote: > Now I understand, thank you. > > Any suggestion about profiling a request using mod_proxy as a reverse proxy? > Reading mod_proxy documentation I didn't find a useful solution (except > lowering Timeout/ProxyTimeout to get some informa

Re: [users@httpd] Question regarding ProxyPass and "!"

2013-09-26 Thread Tom Evans
On Thu, Sep 26, 2013 at 10:58 AM, Thomas Eckert wrote: > Using a config like this > > > BalancerMember http://backend.example.local status=-SE > > > ServerName frontend.example.local > SSLProxyEngine On > RequestHeader set X-Forwarded-Proto http > >

Re: [users@httpd] HTTP_REFERER and Access Control

2013-10-11 Thread Tom Evans
On Fri, Oct 11, 2013 at 3:58 PM, Philippe Marcoussis wrote: > Hello, > > I am facing a problem, and i don't known how to solve it. > > I have two web sites working and available on the internet : > - applications.example.com > - secure.example.com > > I would like : > 1) to allow FULL access FROM

Re: [users@httpd] HTTP_REFERER and Access Control

2013-10-11 Thread Tom Evans
On Fri, Oct 11, 2013 at 5:33 PM, Tom Evans wrote: > RewriteCond %{HTTP_REFERER} ^applications.example.com$ > RewriteRule .* - [E=valid_referer:1] > > SetEnvIf Referer applications\.example\.com valid_referer=1 Doh! I thought I had removed the mod_rewrite way of setting the environm

Re: [users@httpd] reverse proxy, balancing and ssl client certificate authentication

2013-10-17 Thread Tom Evans
On Thu, Oct 17, 2013 at 12:52 PM, Jan Vávra wrote: > Hello, > I have an idea how to setup Apache for doing load balancer based on > mod_proxy and mod_balance modules. But in my case the backend server > requires ssl client certificate authentication and therefore the Apache > Server cannot termin

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Tom Evans
On Thu, Oct 31, 2013 at 2:20 PM, Chris Arnold wrote: > On Wed, Oct 30, 2013 at 9:24 PM, Chris Arnold > wrote: >> >> Apache/2.2.12 (Linux/SUSE). We have a web app that runs under tomcat >> (8080). We have apache using mod_proxy (80 and 443). According to the tomcat >> mailing list: > > >> >> What

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Tom Evans
On Thu, Oct 31, 2013 at 3:06 PM, Chris Arnold wrote: >>First of all, is "/folder/", "/path/" or "/share/"? You seem to have >>used them all so far.. please be careful when anonymizing your config >>that you aren't removing information that is necessary to determine >>what is wrong > > This rea

Re: [users@httpd] building a web farm

2013-11-01 Thread Tom Evans
On Thu, Oct 31, 2013 at 11:30 PM, trifo wrote: > Thanks for the replies. > > Well, I forget to mention that we run on AIX, not on Linux. And so it is. > The files MUST be consistent in any moment of time. There is a period of > time when a lot of pages are changing in every 5 minutes. The point r

Re: [users@httpd] Issues in compiling apache server on one machine and transfer to second

2013-11-12 Thread Tom Evans
On Tue, Nov 12, 2013 at 8:44 AM, swapnil vaidya wrote: > Hi All, > I have 2 linux machine. > I have compiled apache 2.4.6 on one of the linux machine with following > commands: > ./configure --prefix=/usr/apache--with-ssl=/usr/local/ssl --enable-ssl > --enable-modules="all" --enable-mods-shared="m

Re: [users@httpd] Where is source for Windows? (was Re: Binary windows 2.4.x distribution)

2013-11-14 Thread Tom Evans
On Thu, Nov 14, 2013 at 2:06 PM, STF wrote: > I'm not looking for some "IT adventure" if that's what you mean. I have a > job and I don't have spare time to "explore unknown territories" lol I > really want to use Apache httpd in windows at the latest version if > possible. So use apachelounge

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-20 Thread Tom Evans
On Tue, Nov 19, 2013 at 11:06 AM, Borden Rhodes wrote: > Good morning, list, > > After about 7 hours of struggling with this issue, I can't seem to > find out how to trace the cause of this issue: > > I am trying to rewrite absolute URLs using a .htaccess file on my > computer being served from lo

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-26 Thread Tom Evans
On Mon, Nov 25, 2013 at 12:47 AM, Borden Rhodes wrote: > Thank you for your response, Tom, > > You are correct in that I don't expect the server to alter the HTML > output. I want to tell the server to fetch a file at an arbitrary path > if it receives a request for an absolute URL. So, for exampl

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-27 Thread Tom Evans
On Wed, Nov 27, 2013 at 5:37 AM, Borden Rhodes wrote: > Good evening, > > I thought that I had worded my question clearly. Is there something > wrong with how I've asked my question or that I'm asking for something > very unusual? > > I'll do my best to give you all of the information you need: >

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-12-02 Thread Tom Evans
On Sat, Nov 30, 2013 at 12:51 PM, Eric Covener wrote: > On Sat, Nov 30, 2013 at 2:53 AM, Borden Rhodes wrote: >> Assuming that the above steps accurately represent the exchange >> between Ff and httpd, am I to understand that there's no way to tell >> httpd in a .htaccess file at step 3 that a re

Re: [users@httpd] Re: Apache fcgid suexec not deleting POSTed /tmp files

2013-12-12 Thread Tom Evans
On Thu, Dec 12, 2013 at 10:31 AM, Fester Zigterman Rustenburg wrote: > Hi, > > Sorry for posting HTML before. > Is any one here using mod_fcgid, who has any idea how POST files are handled > ? > > It seems that Ubuntu 12.04 (based on debian 6) does not have my problem > using Apache 2.2.22, and I

Re: [users@httpd] Passing Authentication or REMOTE_USER from One Apache Server to Another

2014-01-23 Thread Tom Evans
On Wed, Jan 22, 2014 at 11:16 PM, Kevin Behr wrote: > Hi there, > > I have two separate web applications, each on a different Apache (2.2) > server. A user first authenticates on Server A (either by Basic HTTP or > LDAP) and gains access to the web application. At some point, the user has > the

Re: [users@httpd] Single vs Dual Reverse Proxy

2014-01-29 Thread Tom Evans
On Tue, Jan 28, 2014 at 6:57 PM, Charles W Buege wrote: > All - > > I've gotten Apache working with a single Reverse Proxy to both of my web > servers (much thanks go to Yehuda for your assistance!!), but I'm trying to > take this to a next step. > > Attached, you will find an image with my curren

[users@httpd] Generating a gzip response from multiple pre-gzipped files on disk

2014-02-06 Thread Tom Evans
Hi all At $JOB we have a web app that generates XML for another web app to use. Each complete XML document is a list of individual items, and each item is stored on disk, in gzip format to save space - the format is overly verbose, and compression is highly effective, and gzip is nicely transparen

Re: [users@httpd] RE: Having issues trying to use rewriterule,proxypass,proxyreversepass

2014-02-07 Thread Tom Evans
On Fri, Feb 7, 2014 at 11:04 PM, Riggen, Scott wrote: > Current configuration in my vhosts file. > > > > This is not in a location or directory block. It is in the normal > virtualhost block > > I want my first rewriterule setup so that a user can type in > https://myserver.mydomain.com/ and it w

Re: [users@httpd] RE: Having issues trying to use rewriterule,proxypass,proxyreversepass

2014-02-10 Thread Tom Evans
On Mon, Feb 10, 2014 at 4:39 PM, Riggen, Scott wrote: > Tom, > > I put port# in to indicate that we are using a different port than standard > on the inside network/server. > In this case it is an Oracle SOA server on port 7011. > I can assure you that none of my actual rules contains or begins w

Re: [users@httpd] Virtual Host Not Working

2014-02-12 Thread Tom Evans
On Mon, Feb 10, 2014 at 10:24 PM, Jim Borland wrote: > My server, which is located in the Amazon cloud, was just moved to a new > location with a new IP address. Nothing else was changed. However, the > Apache Virtual Host, which has worked flawlessly for several years, is > broken. Apache serve

Re: [users@httpd] Preventing an open proxy with both a single SSL virtual host and a non-SSL virtual host

2014-02-18 Thread Tom Evans
On Tue, Feb 18, 2014 at 3:00 PM, Richard Mixon wrote: > Jonas/Yehuda, > > The example I chose was a bad one, just rushing to get the mail out I guess. > The vast majority of the requests have a return of 200, with a few 503. > Yes, your configuration is not right - you are configuring a reverse

Re: [users@httpd] Apache Version 2.4 MSI for Windows

2014-03-13 Thread Tom Evans
On Thu, Mar 13, 2014 at 11:41 AM, Savio Chrysostom wrote: > Hi, > > > > I would like to know if MSI is available for Apache 2.4. If yes, please send > me the link where I can download it. The apache project do not release binaries, only source code. Previously, project volunteers made unofficial

Re: [users@httpd] Fwd: apache hosting unknown sites !!!

2014-04-16 Thread Tom Evans
On Wed, Apr 16, 2014 at 1:24 PM, Mauricio Tavares > I guess I am more paranoid than many. :) The internet is noisy and full of terrors. If you put a server, particularly http server, on the internet and make it available, people will make all kinds of requests to it - not necessarily reque

Re: [users@httpd] Apache 2.4 - non adoption reasons??

2014-04-23 Thread Tom Evans
On Thu, Apr 10, 2014 at 6:43 PM, Joey J wrote: > Apache 2.4 has had a stable release out for over 2 years but is only used by > 2.5% of active Apache sites. Why is the adoption so low?? The Apache > foundation has been recommending upgrading to 2.4 for some time and looking > at the improvements

Re: [users@httpd] YOU BROKE MY CODE!

2014-05-21 Thread Tom Evans
On Sat, May 17, 2014 at 4:37 AM, Andy Canfield wrote: > Last week, if you went to http://www.andycanfield.com, you would see my web > site. Today, if you go there, you will see "Internal Server Error". Apache > broke it. > > We had four sites on that computer: > [1] http://210.213.49.151/ took you

Re: [users@httpd] What causes Apache “Request body read timeout” errors?

2014-06-23 Thread Tom Evans
On Sat, Jun 21, 2014 at 7:13 PM, Vladimir Kornea wrote: > The server is Apache/2.2.22 (Debian) and the browser is Firefox 30.0, > but this is a general question. It refers to lines like this in > /var/log/apache2/error.log: > > [Fri Jun 20 17:42:16 2014] [info] [client 67.174.61.70] Request body >

Re: [users@httpd] How to set a custom DNS to Apache?

2014-07-22 Thread Tom Evans
On Sun, Jul 20, 2014 at 10:18 PM, Mark jensen wrote: > I have read about Authoriztion in Apache: > Require host example.org > Require host .net example.edu > > > This configuration will cause > Apache to perform a double reverse DNS lookup on the client IP > address, regardless of the

Re: [users@httpd] Apache load capacity

2014-07-22 Thread Tom Evans
.On Fri, Jul 18, 2014 at 2:52 PM, David Favor wrote: > A quick test of how fast a single file will serve is to do this. > >1) ssh into your machine (you must ssh in for this test for it to be > accurate) > >2) create a 150K file > net1# dd if=/dev/zero of=output.dat bs=150K count=1 >

Re: [users@httpd] After authentication, How to authorize users according to IP (or host)?

2014-07-25 Thread Tom Evans
On Tue, Jul 22, 2014 at 4:46 PM, Mark jensen wrote: > this won't help if the USER is outside the Network and have to use LDAP, it > is surely doesn't have the IP 192.168.1.2 Break it down who you want to access the location, ie it is unclear which of these statements is what you want (if any). 1

Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Tom Evans
On Fri, Jul 25, 2014 at 11:37 AM, wrote: > Hi, > > we have apaches as reverse proxies for some tomcat and wso2-application > servers. > > We get this error message on a high-load-webserver: > > [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily > unavailable: [client 172.3

Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Tom Evans
On Fri, Jul 25, 2014 at 3:49 PM, Tom Evans wrote: > On Fri, Jul 25, 2014 at 11:37 AM, wrote: >> Hi, >> >> we have apaches as reverse proxies for some tomcat and wso2-application >> servers. >> >> We get this error message on a high-load-webserver:

Re: [users@httpd] apache umask to get 775 file permissions

2014-07-29 Thread Tom Evans
On Mon, Jul 28, 2014 at 7:29 AM, Mike Wenzel wrote: > I got an cgi-script which is creating a file. This file need 775 permissions > (rwxrwxr-x). I need to get the apache to create this file with 775 > permissions. > > I researched, but 90% of all those solutions doesn't work for me or those > "in

Re: [users@httpd] Use Allow from IP when there is a proxy exist?

2014-08-08 Thread Tom Evans
On Fri, Aug 8, 2014 at 9:23 AM, Igor Cicimov wrote: > >> Your .htaccess file: >> # ALLOW USER BY IP >> order deny,allow >> deny from all >> SetEnvIF X-Forwarded-For "1.2.3.4" AllowIP >> SetEnvIF X-Forwarded-For "5.6.7.8" AllowIP >> Allow from env=AllowIP >> allow from 1.2.3.4 >> allow from 5.6.7.8

Re: [users@httpd] Too many vhosts?!?!

2014-10-06 Thread Tom Evans
On Sun, Oct 5, 2014 at 9:22 PM, Jakov Sosic wrote: > Hi guys. > > I'm running CentOS 6 with latest httpd (2.2.15-31.el6). > > > I've noticed a very peculiar problem with Apache. I have a very high number > of virtual hosts set up - it's around 501. > > Problems started occuring after vhost number

Re: [users@httpd] Help needed with event MPM configuration

2014-11-07 Thread Tom Evans
On Tue, Nov 4, 2014 at 7:36 PM, Rajalakshmi Iyer wrote: > Ok. Thanks. > > Does this situation sound plausible - Keep alive connections are not being > used effectively by client applications (i.e. subsequent requests on > keep-alive connections are not frequent enough to keep Apache workers busy >

Re: [users@httpd] Apache and PHP-FPM error

2015-02-13 Thread Tom Evans
On Mon, Feb 9, 2015 at 8:20 PM, Rose, John B wrote: > Bummer > > Since we want to stick with what is available via "yum" for Red Hat 7 > > Thanks for the info > I doubt the lack of UDS, and having to use FCGI over TCP/IP is what is causing your load spikes compared to running with mod_php. More

<    2   3   4   5   6   7