Re: [users@httpd] Help troubleshooting performance issue, after "1000 total children" Apache no longer responds to HTTP requests. Not MaxClients issue?

2012-05-03 Thread Tom Evans
On Mon, Apr 30, 2012 at 4:20 PM, P J wrote: > Greetings all, > > Hoping someone can point me in the right direction as I've spent the last > week trying to figure out where the "issue" is but haven't been able to. > > Running Apache 2.2.3 on CentOS 5.8. > > At a few points during the day when traf

Re: [users@httpd] Help troubleshooting performance issue, after "1000 total children" Apache no longer responds to HTTP requests. Not MaxClients issue?

2012-05-04 Thread Tom Evans
On Fri, May 4, 2012 at 4:18 PM, P J wrote: > On Fri, May 4, 2012 at 5:28 AM, Jim Jagielski wrote: >> >> The closer MinSpareServers/MaxSpareServers are, the more time >> Apache needs to spend killing and creating child processes >> to ensure it stays within that narrow limit >> On May 3, 2012, at

Re: [users@httpd] IO load due to apache? Normal httpd behavior or script related?

2012-05-16 Thread Tom Evans
On Wed, May 16, 2012 at 2:57 PM, G VM wrote: >> Likely a script problem, httpd wont cause harm > Did some further investigation and it seems APC (php opcode cache) generates > this IO(or so it seems). > http://serverfault.com/questions/361032/high-disk-i-o-when-cache-is-used > >> that is pretty an

Re: [users@httpd] Two OS's, two HTTPDs, two different handlings of Mime Type?

2012-08-22 Thread Tom Evans
On Wed, Aug 22, 2012 at 4:26 PM, J.Lance Wilkinson wrote: > Eric Covener wrote: >> I wonder if on the 2nd system the files are not really served by the >> "default handler" and somehow end up pumped through e.g. PHP? > > > We've noted that NO MATTER WHERE this FilesMatch stanza appears >

Re: [users@httpd] mod_extract_forwarded or mod_rpaf for Apache 2.2/2.4?

2012-08-24 Thread Tom Evans
On Fri, Aug 24, 2012 at 1:32 AM, Marten Lehmann wrote: > Thanks. Is anything like that available for Apache 2.2? Ubuntu 12.04 LTS > only ships with Apache 2.2.22. I would have to build my own Apache with all > dependencies just for this single module. > mod_rpaf works fine with 2.2/2.4, mod_remot

Re: [users@httpd] Large static files - no mod_xsendfile available

2012-08-24 Thread Tom Evans
On Thu, Aug 23, 2012 at 8:16 PM, Ben Johnson wrote: > If you meant to say file *downloads*, I don't see any reason that you > should encounter a blocking/locking issue. I don't use Python, but with > PHP, any number of Apache requests, from the same user-agent, will be > serviced concurrently. Tha

Re: [users@httpd] Installing JIR 5.1x on Tomcat-7 Linux

2012-08-29 Thread Tom Evans
On Tue, Aug 28, 2012 at 9:20 PM, Ahmed Elbaggari wrote: > .I know that Apache Software Foundation is running Jira. I do not know if it > is running on Tomcat 7 or Tomcat 6 > > If you are running JIRA 5.1x on Tomcat 7 ( linux) , please provide the > steps or links to any instructions. Atlassian i

Re: [users@httpd] HTTPD 2.2.17 removes/filters http header 'Warning' from response

2012-09-06 Thread Tom Evans
On Thu, Sep 6, 2012 at 12:27 PM, Eric Covener wrote: > On Thu, Sep 6, 2012 at 6:59 AM, Anoop L wrote: >> Hi All, >> >> We use HTTPD 2.2.17 with Mod_ssl and Mod_proxy in front of HA_proxy to >> terminate https. >> >> When the backend sends http header named 'Warning' HTTPD removes that from >> r

Re: [users@httpd] scoreboard is full, not at MaxRequestWorkers

2012-09-07 Thread Tom Evans
On Fri, Sep 7, 2012 at 12:57 AM, Igor Cicimov wrote: > On Thu, Sep 6, 2012 at 11:21 PM, Sam wrote: >> >> Never, the server is not even under high load. There >> are several thousand vhosts, it is about shared webhosting. >> >> This is what server-status says: >> >> PIDConnections Threads

Re: [users@httpd] RE: httpd 2.2.22, mod_jk, open_ssl, does not appear to be running secure

2012-09-11 Thread Tom Evans
On Tue, Sep 11, 2012 at 4:09 PM, Law, Bob wrote: > I was able to figure out the problem. Httpd 2.2.22 does not support the > command in the ssl.conf file. Once I removed that, then it > started loading my ssl configuration. > httpd supports just fine. For 'SSL' to be defined, httpd must be

Re: [users@httpd] RE: httpd 2.2.22, mod_jk, open_ssl, does not appear to be running secure

2012-09-11 Thread Tom Evans
On Tue, Sep 11, 2012 at 4:55 PM, Law, Bob wrote: > That must have been a change since 2.0.63. We are running apache with > shibboleth and httpd-2.0.63. Our ssl.conf file has the for SSL, > but we don't start up httpd with -DSSL. > > I'm just glad I got it working. > Perhaps your OS/init scri

Re: [users@httpd] Map a subfolder in a virtualhost (with remote proxy) to a local folder

2012-09-11 Thread Tom Evans
On Tue, Sep 11, 2012 at 4:53 PM, Bhattacharya, Sudip wrote: > I have a VirtualHost entry like below, which routes all requests for > http://foo.bar.com URLs to a remote server http://fooremote.bar.com . > > > ServerName foo.bar.com > ProxyRequests Off > ProxyPreserveHost Off > >

Re: [users@httpd] Questions on Apache Caching

2012-09-12 Thread Tom Evans
On Wed, Sep 12, 2012 at 1:15 PM, Bhattacharya, Sudip wrote: > I am using mod_cache module to enable caching of certain subfolders in > VirtualHost section which is mapped to proxy requests to a remote server. > > Is there any way to log requests specific to cached files? I want to know: > 1. Whic

Re: [users@httpd] Questions on Apache Caching

2012-09-12 Thread Tom Evans
On Wed, Sep 12, 2012 at 3:37 PM, Bhattacharya, Sudip wrote: > Hi Tom, > > Can you explain further on the "Manual Synchronization" process? > Do I have to manually copy paste the static files from backend server to my > local cache folder(create a mirror copy) for achieving this? > Or are you refe

Re: [users@httpd] Download breaks in the middle

2012-09-14 Thread Tom Evans
On Fri, Sep 14, 2012 at 2:32 PM, Kevin A. McGrail wrote: > On 9/14/2012 12:24 AM, val john wrote: >> >> im hosting close to 20 zip files in my site each close to 180MB in size , >> some times when i download one of the files .. its stops in the middle ( >> after 80MB ) ,And some times it get dow

Re: [users@httpd] Configure Apache as Reverse Proxy

2012-09-17 Thread Tom Evans
On Mon, Sep 17, 2012 at 5:08 AM, Nguyen, Bao L wrote: > Hello All, > > Could someone please point me a good document on how to configure Apache > Reverse proxy? Thank you very much! > > Bao Nguyen > http://httpd.apache.org/docs/2.4/mod/mod_proxy.html Cheers Tom --

Re: [users@httpd] httpd 2.2 ReverseProxy not working on 302 redirect location header

2012-09-19 Thread Tom Evans
On Wed, Sep 19, 2012 at 3:46 PM, Mario A. del Riego wrote: > Supid, > > I have the same behavior, it's a bug well documented at [1]. > > If you know the redirection, you can do it in the front-end. > In my particular case, i fixed it with mod_security. I have wrote a > little in my blog [0] (in sp

Re: [users@httpd] rotatelogs: does it create directories?

2012-09-20 Thread Tom Evans
On Thu, Sep 20, 2012 at 2:10 PM, Mark Montague wrote: > On September 20, 2012 7:01 , "Esmond Pitt" wrote: >> >> Sorry, can't wait till the end of the month to experiment with this. It >> occurred to me that I would like to organize my log files by year and month >> in directories. Does rotatelogs

Re: [users@httpd] apache getting stuck after reaching max number of max clients

2012-09-28 Thread Tom Evans
On Fri, Sep 28, 2012 at 3:04 AM, val john wrote: > Hi.. guys > > My apache config as follows , > > # > Timeout 1000 > KeepAlive Off > MaxKeepAliveRequests 500 > KeepAliveTimeout 15 > > > StartServers 5 > MinSpareServers 5 > MaxSpareServers 10 > MaxClients

Re: [users@httpd] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed

2012-09-28 Thread Tom Evans
On Fri, Sep 28, 2012 at 10:17 AM, Roel Wagenaar wrote: > Hi, > > I am trying to get SSI working on my Apache2 server, I have been following > this > guideline: > > http://httpd.apache.org/docs/2.2/howto/ssi.html > > to the letter Can you share your configuration so we can validate this :) Cheer

Re: [users@httpd] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed

2012-09-28 Thread Tom Evans
On Fri, Sep 28, 2012 at 12:51 PM, Roel Wagenaar wrote: > Tom Evans wrote: > >> On Fri, Sep 28, 2012 at 10:17 AM, Roel Wagenaar wrote: >> > Hi, >> > >> > I am trying to get SSI working on my Apache2 server, I have been > following this

Re: [users@httpd] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed

2012-09-28 Thread Tom Evans
On Fri, Sep 28, 2012 at 1:10 PM, Tom Evans wrote: > On Fri, Sep 28, 2012 at 12:51 PM, Roel Wagenaar wrote: >> Tom Evans wrote: >> >>> On Fri, Sep 28, 2012 at 10:17 AM, Roel Wagenaar >>> wrote: >>> > Hi, >>> > >>>

Re: [users@httpd] Configuration of virtual hosts

2012-10-02 Thread Tom Evans
On Tue, Oct 2, 2012 at 10:38 AM, Petr Hracek wrote: > Dear users, > > sorry for botherring you with that issue but I have some questions > regarding apache2.2.22: > 1) from the Java applet I see sometimes (Client 2008)-> server (SLES > 10) error message from Java console like: > exception: Invalid

Re: [users@httpd] RedirectMatch using current server name

2012-10-12 Thread Tom Evans
On Fri, Oct 12, 2012 at 2:15 PM, plot.lost wrote: > Is there a way to do something like the following where the domain part is > replaced by whatever has been configured in ServerName > > RedirectMatch permanent ^/$ http://the.domain.com/path/to/file.html > > i.e. where 'the.domain.com' is whatev

Re: [users@httpd] RedirectMatch using current server name

2012-10-12 Thread Tom Evans
On Fri, Oct 12, 2012 at 3:22 PM, plot.lost wrote: > On 12/10/2012 15:19, Tom Evans wrote: >> >> On Fri, Oct 12, 2012 at 2:15 PM, plot.lost wrote: >>> >>> Is there a way to do something like the following where the domain part >>> is >>> rep

Re: [users@httpd] Apache - ProxyPass issue -- pls suggest

2012-10-15 Thread Tom Evans
On Sun, Oct 14, 2012 at 5:22 PM, vivek aggarwal wrote: > Folks, > > I am not able to forward the request from apache to tomcat when i am using > the following configuration for ProxyPass elements : > > > ServerName vicky.com > ProxyPass /http://localhost:8080/kdah > ProxyPassReverse /http

Re: [users@httpd] How to conditionally enable mod_deflate?

2012-10-19 Thread Tom Evans
On Fri, Oct 19, 2012 at 4:44 PM, Bhattacharya, Sudip wrote: > Hi All, > > > > I have a problem for which I am not able to find a solution. > > > > I need to conditionally enable mod_deflate for clients who send a particular > custom HTTP Request Header. > > Let’s say this HTTP Request Header is li

Re: [users@httpd] Intermittent 500 responses in access.log without corresponding entries in error.log

2012-10-25 Thread Tom Evans
On Mon, Oct 22, 2012 at 8:41 PM, Ben Johnson wrote: > I suppose the next step is to further increase PHP_FCGI_MAX_REQUESTS and > see if the frequency of these 500 responses decreases. Or set it to 1, and see if your conjecture is correct - every other request should be a 500. Cheers Tom --

Re: [users@httpd] How to debug SetEnvIfNoCase command?

2012-10-29 Thread Tom Evans
On Mon, Oct 29, 2012 at 8:31 AM, Bhattacharya, Sudip wrote: > This should be documented clearly in the apache manuals for SetEnv and > SetEnvIf. It is: http://httpd.apache.org/docs/2.2/env.html#caveats Cheers Tom - To unsubs

Re: [users@httpd] 500 status code responses, but the full/correct file contents are still sent to the user-agent

2012-11-02 Thread Tom Evans
On Thu, Nov 1, 2012 at 6:09 PM, Ben Johnson wrote: > Might anyone know what could possibly cause Apache to return 500 > (Internal Server Error) status code responses *but still return the > requested file's contents*? > > I have reviewed the application logic carefully to ensure that no header > t

Re: [users@httpd] Proxy Config Issues

2012-11-19 Thread Tom Evans
On Sun, Nov 18, 2012 at 1:44 AM, Chris Arnold wrote: >> I did read the docs and they were some what helpful but not completely. >> Hence, my email to the list. What i am trying to understand is the sections >> and what they mean. For instance, ProxyPass /. Does >this refer to what will >> be proxi

Re: [users@httpd] MPM Worker settings calculation

2012-11-21 Thread Tom Evans
On Wed, Nov 21, 2012 at 9:44 AM, rewt rewt wrote: > Hello, > After many performances issues with mpm prefork (high memory) i would like > to use the MPM worker wich seems better for high traffic sites. > I have been able to estimate the RAM per httpd process in prefork around > 25m. > With the pre

Re: [users@httpd] Re: users Digest 21 Nov 2012 12:02:28 -0000 Issue 4476

2012-11-21 Thread Tom Evans
On Wed, Nov 21, 2012 at 2:04 PM, rewt rewt wrote: > Hi Tom, > Thank you very much for your feedback. > Does the actual setting you provided compliant with 32Gb RAM and 8vCPU ? The server has much less RAM than that - only 4 GB. All this server does is read requests from the net, proxy them to ano

Re: [users@httpd] Apache Reverse Proxy & Caching configuration for HTTPS

2012-11-22 Thread Tom Evans
On Thu, Nov 22, 2012 at 12:02 PM, Igor Galić wrote: > > > - Original Message - >> Hi Friends, >> >> I have the below Reverse Proxy setup. I am also doing caching for a >> few folders which serve static content. >> It is working fine for HTTP URLs. >> >> I have to now enable this proxy appr

Re: [users@httpd] My SSL Certificate is not working properly

2012-12-04 Thread Tom Evans
On Tue, Dec 4, 2012 at 11:00 AM, Andrew Thompson wrote: > Hi all, > > > > I have brought a GoDaddy SSL cert to protect my Nagios web interface so I > can access it over the internet. > > > > I have got it installed and setup and it responds on https > > > > Here is what I did to get it working: >

Re: [users@httpd] Fw: Apache issue

2012-12-05 Thread Tom Evans
On Wed, Dec 5, 2012 at 4:40 PM, vicky wrote: > > > Hello Guys, > > My apache instance after sometime become unresponsive & to restore it i need > to restart it. Weird thing is that no exception/error is coming in logs. Define unresponsive. Does it respond slowly, not at all, or does it refuse the

Re: [users@httpd] Fw: Apache issue

2012-12-05 Thread Tom Evans
e cannot be displayed error come wbile browsing the apache" > > > From: Tom Evans > To: users@httpd.apache.org; vicky > Sent: Wednesday, 5 December 2012 10:45 PM > Subject: Re: [users@httpd] Fw: Apache issue > > On Wed, Dec 5, 2012 at 4:40 PM, vicky wrote: >> &g

Re: [users@httpd] In what condition, can this log message be printed?

2012-12-06 Thread Tom Evans
On Thu, Dec 6, 2012 at 8:02 AM, Tianyin Xu wrote: > Hi, Eric, > > I'm sorry for the disturbing for this problem. > > I used GDB to trace the code, in the hope of understanding why httpd never > print that log message. > > Basically, that following code print out the log message: > > /* server/mpm/

Re: [users@httpd] Android device ID not show on access_log

2012-12-07 Thread Tom Evans
On Fri, Dec 7, 2012 at 7:28 AM, Chau Pham wrote: > it works fine for computer, laptop, and apple(iphone, ipad) device > however when I use Android then access_log in service side prints out: > > 172.16.33.124 - - [07/Dec/2012:13:29:37 +0900] "GET /data/playgirls-14.ts > HTTP/1.1" 200 2103156 "-" "

Re: [users@httpd] how to use ProxyPassReverse* with more complex a ProxyPassMatch

2012-12-10 Thread Tom Evans
On Sat, Dec 8, 2012 at 11:45 PM, Christoph Anton Mitterer wrote: > Hi. > > I'm using a reverse proxy set up with ProxyPassMatch as the space I map > to is rather complex and can't be mapped with a normal ProxyPass. > > > Now the problem is obviously that: > ProxyPassReverse > ProxyPassReverseCooki

Re: [users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-10 Thread Tom Evans
On Thu, Dec 6, 2012 at 7:59 PM, Pepe wrote: > I have an apache server with 3 virtual host (all DNS work already done): > http://www1.example.com --> listens on port 80 > http://www2.example.com --> listens on port 80 with required user > authentication > https://wwwsecure.example.com --> listens o

Re: [users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 9:30 AM, José Francisco Álvarez Aguilar wrote: > Yes, www1.example.com, www2.example.com and wwwsecure.example.com all > resolve to the same IP. > So, due to your explanation, I can't have different behaviour for this 3 > virtualhosts without using different certificates or

Re: [users@httpd] Does Apache 'configure' command have a 'clean' option?

2012-12-12 Thread Tom Evans
On Tue, Dec 11, 2012 at 8:46 PM, wrote: > Hi, > > I spent last night pulling my hair out because I was trying to build Apache, > but I was trying different 'configure' commands with different MPM > configurations, and it seemed like when I changed the parameters for > configure, it was using o

Re: [users@httpd] Does Apache 'configure' command have a 'clean' option?

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 11:01 AM, Tom Evans wrote: > configure doesn't remember your options from a previous run, that is > what config.nice does. Where you accidentally running config.nice > instead of configure? Oh, and "make distclean" is a more vigorous cl

Re: [users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 11:43 AM, José Francisco Álvarez Aguilar wrote: > 2012/12/12 Tom Evans >> >> It "works" just fine, you are just not understanding what is necessary >> for it to work. >> >> VirtualHost uses the Host header supplied in the reques

Re: [users@httpd] mod_fcgid upload permission changes.

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 2:26 PM, Toni Moreno wrote: > Hi Ben, Eric , I'm developing a centraliced IT-Administration platform.( > http://sourceforge.net/projects/itsat/ ) > … > I've tested your suggestion ( by adding a chmod while still root) but > doen't work: > > Hi Toni This isn't what Eric

Re: [users@httpd] Apache HTTP Server 2.4.x for Windows?

2012-12-13 Thread Tom Evans
On Tue, Dec 11, 2012 at 4:47 PM, Ben Johnson wrote: > The Apache Software Foundation does not provide Windows binaries. You > must compile the software from source (no simple matter on Windows) or > obtain binaries from a third party. Apache Lounge is the best known > source for such binaries: htt

Re: [users@httpd] Compilation error in Apache 2.4.3

2012-12-13 Thread Tom Evans
On Mon, Dec 10, 2012 at 1:18 AM, John Iliffe wrote: > I am trying to install Apache 2.4.3 on a new Red Hat Linux 6.3 machine > running on X86_64 hardware. > > I installed OpenSSL version 1.0.1c and it seemed to install correctly. > basically, it was a default install except for the executable loca

Re: [users@httpd] MPM module for windows

2012-12-20 Thread Tom Evans
On Thu, Dec 20, 2012 at 4:34 PM, Ben Johnson wrote: > > > On 12/19/2012 11:13 AM, techienote@gmail.com wrote: >> Hi, >> >> Recently I have installed apache 2.2 on windows 32 bit edition. I just want >> to understand which mpm module I should use for windows. >> >> As of now we are expecting 6

Re: [users@httpd] How to retrieve IP address of incoming packets in text file using httpd source code

2012-12-20 Thread Tom Evans
On Thu, Dec 20, 2012 at 4:20 PM, Bhavna Saini wrote: > Hi Eric, > > In the previous mail you mentioned that "webserver can't write to /file.txt > from a child process". I couldn't get it properly. Please give some more > details of it. Eric is saying that normally only root can write to the root

Re: [users@httpd] Apache HTTP Server 2.4.x for Windows?

2013-01-02 Thread Tom Evans
On Sun, Dec 30, 2012 at 11:13 PM, Esmond Pitt wrote: > I haven't been told that at all actually. I have been trying to extract > precisely that information, from a lot of people who seem churlish in the > extreme at actually answering questions. This latest insult is entirely > typical. It's a sim

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-07 Thread Tom Evans
On Mon, Jan 7, 2013 at 3:02 PM, Tom Frost wrote: > Hi > > Thanks for your reply Adam. > > The output requested is: > > VirtualHost configuration: > 127.0.0.1:443 localhost (/etc/httpd/conf.d/ssl.conf:81) > wildcard NameVirtualHosts and _default_ servers: > *:80 is a Name

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-09 Thread Tom Evans
On Tue, Jan 8, 2013 at 1:33 PM, Tom Frost wrote: > Hi Tom > > Dont think so, the different epages configs are included like this: > > Include /etc/httpd/conf.d/zzz-epages-*.conf > > And there is only one zzz-epages-httpd.conf > > Thanks > > Tom > And nothing else is doing something like "Include

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Tom Evans
On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost wrote: > Hi Adam > > Thanks for your reply. > > Yes, I did c/p and then replace the domains with the placeholders. > > I too noticed that there wasnt any entry for url1.mydomain.com, and I have > been down the same process you advised of starting with on

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-11 Thread Tom Evans
On Fri, Jan 11, 2013 at 1:57 PM, Tom Frost wrote: > Hi > > Thank you all for your replies, very helpful and much appreciated. > > I understand your thoughts on the IfDefine Proxy, as you can guess this is > something which Epages put in itself, not anything that I put in or use. > > When I remove

Re: [users@httpd] Apache httpd graphical monitor ?

2013-01-18 Thread Tom Evans
On Thu, Jan 17, 2013 at 11:48 PM, Rose, John B wrote: > Is there a graphical monitoring tool for Apache httpd that is granular > enough you can determine if you need to change configuration settings, such > as you need to change values for MaxClients, MinSpareServers, > MaxRequestsPerChild, Start

Re: [users@httpd] Changing the MPM

2013-02-05 Thread Tom Evans
On Sun, Feb 3, 2013 at 8:34 PM, yogesh hingmire wrote: > I recently bought a new Mac book pro, the apache server that comes inbuilt > is with a prefork option, here is below listing > > Yogeshs-MacBook-Pro:sbin yogesh$ httpd -l > Compiled in modules: > core.c > prefork.c > http_core.c > mo

Re: [users@httpd] Re: "Official" apache win32 binaries for 2.2.23

2013-02-05 Thread Tom Evans
On Sat, Feb 2, 2013 at 9:24 AM, Michiel Beijen wrote: > Op 2 feb. 2013 02:16 schreef "Good Guy" het volgende: > I don't >> mind doing it but whenever I try do build it in VS2010, I always get errors >> and so I gave up. even VS 2012 is out now and it is a very good package to >> create fast bina

Re: [users@httpd] Disable custom modules for a specific directory in my web server

2013-02-14 Thread Tom Evans
On Thu, Feb 14, 2013 at 5:40 PM, Chris Villone wrote: > Hi all, > > I have an apache server running on an embedded device that serves webpages to > clients using a bunch of custom modules. > > I'm now trying to load some webpages from the device using > http://127.0.0.1/foo/blah.html > > These p

Re: [users@httpd] prefork vs worker mpm in apache

2015-11-03 Thread Tom Evans
On Tue, Nov 3, 2015 at 3:43 PM, Tim Dunphy wrote: > > Hey guys, > > We had to recompile apache 2.4.12 because we needed to disable thread safety > in php (ZTS). Because for some reason when compiling php with the > --disable-maintainer-zts with the worker mpm model and checking the php info > pag

Re: [users@httpd] Apache 2.2 End of life

2016-03-22 Thread Tom Evans
On Mon, Mar 21, 2016 at 4:07 PM, Michael A. Peters wrote: > I can't find anything official but 1.3 went EOL in 2010 and 2.0 went EOL in > 2013. > $ GET -m HEAD "http://$one_of_my_production_servers/"; 403 Forbidden Connection: close Date: Tue, 22 Mar 2016 17:26:12 GMT Server: Apache/1.3.42 (Unix)

Re: [users@httpd] mod_proxy error reading status line

2013-02-27 Thread Tom Evans
On Wed, Feb 27, 2013 at 2:59 PM, Mark Lybarger wrote: > We're using apache mod_proxy to proxy requests to jboss servers on > different hosts. We've noticed that we're getting sporadic http 502 > response codes. In the apache error file, I see LOTS of these errors: > > [Tue Feb 26 13:55:49 2013]

Re: [users@httpd] Installation of webapp in a virtualhost subdomain

2013-02-28 Thread Tom Evans
On Thu, Feb 28, 2013 at 3:36 PM, Paulo J. Matos wrote: > Hello, > > I am trying to get openphoto installed in photos.matos-sorge.com, this is a > subdomain of matos-sorge.com, which I own. > > To implement the subdomains I have a virtual host that starts with: > RewriteEngine on > # Rewrite ev

Re: [users@httpd] Using PostgreSQL auth - user permissions

2013-02-28 Thread Tom Evans
On Thu, Feb 28, 2013 at 4:46 AM, D'Arcy J.M. Cain wrote: > On Thu, 28 Feb 2013 13:04:21 +1100 > Igor Cicimov wrote: >> > I have recently upgraded to Apache 2.4, suExec and dbd >> > authentication with PostgreSQL. This is on a system with multiple >> > users. Here is an example virtual host entr

Re: [users@httpd] Application exception from Apache 2.4.3 (with APR 1.4.6)

2013-02-28 Thread Tom Evans
On Wed, Feb 27, 2013 at 5:02 AM, Pravesh Rai wrote: > Hi, > > > > While doing continuous restart of 64 bit Windows server, sometimes we get > application exception with following details: You would be better off reporting this to dev@ Have you ruled out bad memory in the machine? Can you reprodu

Re: [users@httpd] SSL session problem

2013-03-04 Thread Tom Evans
On Sun, Mar 3, 2013 at 10:36 PM, Jens-U. Mozdzen wrote: > Zitat von Jens-Uwe Mozdzen : >> >> Zitat von "Jens-U. Mozdzen" : >>> >>> Hi list, >>> >>> I could use a helping hand with a SSL problem. >> >> [...] > > > Anything I should do differently to get at least an ack from this list? Or > is there

Re: [users@httpd] Apache monitoring MPM

2013-03-05 Thread Tom Evans
On Tue, Mar 5, 2013 at 1:37 PM, vicky wrote: > Hi GUys, > > can you please suggest that for monitoring the number of threads/server > processes created via MPM worker do we have any tool or any status page ..? > > > Thanks > Vicky mod_status http://httpd.apache.org/docs/2.2/mod/mod_status.html

Re: [users@httpd] Access and Error Logs Being Created Before Reaching Maximum Size or Time

2013-03-08 Thread Tom Evans
On Fri, Mar 8, 2013 at 1:02 PM, Steve Penner wrote: > BRIEF BACKGROUND > From the Internet, users can access my web server using EITHER name > website1.dynalias.org OR website2.dyndns.blog.com (provided by DynDNS.com > dynamic DNS). The VHOSTS file sends them to different document routes > depend

Re: [users@httpd] Apache time zone > daylight saving time > missing an hour of logs?

2013-03-11 Thread Tom Evans
On Sun, Mar 10, 2013 at 11:29 PM, Geoff Millikan wrote: > The date and time shown in Apache logs comes from the time zone of the > server. If the server's time jumps forward an hour > (adjusting for daylight savings time) the time in the Apache log will jump > forward too. To the untrained eye

Re: [users@httpd] Apache time zone > daylight saving time > missing an hour of logs?

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 10:33 AM, Lester Caine wrote: > Tom Evans wrote: >> >> Don't run Apache in a locale with DST if you do not want local DST >> times in the logs. Use the C locale instead. > > > The only thing that is consistent is UTC, and by default that

Re: [users@httpd] JkWorkerFile (mod_jk)

2013-03-28 Thread Tom Evans
On Thu, Mar 28, 2013 at 4:20 PM, Chris Arnold wrote: > Apache2.12.x on SLES11 SP2. > I am trying to get apache2 mod_jk working with apache to access a webapp. I > have loaded the mod_jk module and configured a virtual host and > workers.properties file like so: > > virtualhost: > > ServerNa

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-02 Thread Tom Evans
On Tue, Apr 2, 2013 at 5:18 PM, Thibaut Lemaire wrote: > Hi, > > I want to use Apache to proxy requests like domain.tld.MyDomain.tld to > domain.tld. > > I've tried this : > > > RewriteEngine on > RewriteCond %{HTTP_HOST}(.*).MyDomain.tld$ > RewriteRule (.*).MyDomain.tl

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-03 Thread Tom Evans
On Tue, Apr 2, 2013 at 9:18 PM, Thibaut Lemaire wrote: > > Le 02/04/2013 18:45, Tom Evans a écrit : > >> Do you mean proxy - you want to connect to a different server, fetch >> that content over the network to this server, and then deliver it to >> the client? > &

Re: [users@httpd] file extensions for CGI

2013-04-03 Thread Tom Evans
Is the file executable - ie "does it have it's exec bit set", not "is it a program". Cheers Tom On Wed, Apr 3, 2013 at 12:03 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > I am using RedHat 6.4 with Apache 2.2.15. I send a wget request to the > server for /cobb

Re: [users@httpd] file extensions for CGI

2013-04-03 Thread Tom Evans
On Wed, Apr 3, 2013 at 1:03 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > The execute bit is set. http://httpd.apache.org/docs/2.2/howto/cgi.html#nonscriptalias Because those options are not set, Apache refuses to execute the file. Remove the execute bit if it i

Re: [users@httpd] Strange Apache logs - very slow loading time

2013-04-12 Thread Tom Evans
On Sat, Apr 13, 2013 at 1:12 AM, Karol Pomaski wrote: > Hi All, > > I need a help. I believe something is wrong. I have recently found a strange > information on my apache error.log: > > [Sat Apr 13 00:08:32 2013] [error] (110)Connection timed out: proxy: HTTP: > attempt to connect to 107.6.106.10

Re: [users@httpd] Strange Apache logs - very slow loading time

2013-04-12 Thread Tom Evans
On Sat, Apr 13, 2013 at 1:45 AM, Karol Pomaski wrote: > Well I have already blocked the proxy and disabled to mod_proxy module but > still the log appears > > > [Sat Apr 13 00:43:57 2013] [error] [client 198.136.28.2] File does not exist: > /var/www/shops/88/store/creative, referer: http://www.h

Re: [users@httpd] Apache 2 Mod_Chroot problem

2013-04-15 Thread Tom Evans
On Sun, Apr 14, 2013 at 7:09 PM, Karol Pomaski wrote: > Well, I have checked the log and I see this line: > > [Sun Apr 14 06:25:04 2013] [notice] Graceful restart requested, doing restart > apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error > on line 1 of /etc/apache2/mo

Re: [users@httpd] Rewrite Rule

2013-04-25 Thread Tom Evans
On Thu, Apr 25, 2013 at 4:13 PM, Chris Arnold wrote: > > > From: "Chris Arnold" > To: users@httpd.apache.org > Sent: Wednesday, April 24, 2013 3:21:25 PM > Subject: Re: [users@httpd] Rewrite Rule > > > On Apr 24, 2013, at 2:00 PM, "Chris Arnold" wrote: > >> On Apr 23, 2013, at 8:39 PM, "Chris Arn

Re: [users@httpd] Rewrite Rule

2013-04-25 Thread Tom Evans
On Thu, Apr 25, 2013 at 4:53 PM, Chris Arnold wrote: > On Apr 25, 2013, at 11:32 AM, "Tom Evans" wrote: > >> It looks like you are rewriting it to it's current location. This >> leads to a loop. >> >> Why are you using rewrite rules anyway? > >

Re: [users@httpd] apache 2.4 with MPM Event recommend config

2013-04-26 Thread Tom Evans
On Fri, Apr 26, 2013 at 3:41 PM, Mike Franon wrote: > Hi, > > I recently moved to apache 2.4.4 with php-fpm, mod_fastcgi, and MPM Event. > > I was curious what values do I need to change to optimize apache? > > I remember in 2.4 prefork I had to change several like MaxClients and > MaxRequestsPerC

Re: [users@httpd] odd 30 second timeout when using mod_proxy_fcgi and php-fpm

2013-04-29 Thread Tom Evans
On Fri, Apr 26, 2013 at 6:00 PM, Daniel Steen wrote: > Hi All! > > We are having an issue where, if a php script is waiting for more than 30 > seconds, apache will kill the connection to php-fpm with the following error: > > [Thu Apr 25 15:20:11.977250 2013] [proxy_fcgi:error] [pid 21763:tid > 1

Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread Tom Evans
On Thu, May 2, 2013 at 12:22 PM, oneat wrote: > Hi. > > I'm writing my first module in c++ for apache and this is its code in > mod_cpp.cpp file: > > module AP_MODULE_DECLARE_DATA cpp_module = > { > STANDARD20_MODULE_STUFF, > NULL, > NULL, > NULL, > NULL, > NULL, > reg

Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread Tom Evans
On Thu, May 2, 2013 at 1:17 PM, oneat wrote: > On Thu, May 2, 2013 at 12:22 PM, oneat wrote: >> Hi. >> >> I'm writing my first module in c++ for apache and this is its code in >> mod_cpp.cpp file: >> >> module AP_MODULE_DECLARE_DATA cpp_module = >> { >>STANDARD20_MODULE_STUFF, >>NULL, >>

Re: Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-03 Thread Tom Evans
On Thu, May 2, 2013 at 6:46 PM, oneat wrote: > Do you have any other samples for cpp coding for httpd? I heard about codea, > but it seems a bit outdated. apxs doesn't really understand how to deal with C++ modules, to get this to work correctly I needed to write a Makefile: APXS=apxs APXS_CFLA

Re: [users@httpd] Program terminated with signal 7, Bus error.

2013-05-17 Thread Tom Evans
On Fri, May 17, 2013 at 8:37 AM, tseveendorj wrote: > Hello, > > Someone can help me who was faced this issue before. My apache2 server is > repeatedly logged 'Program terminated with signal 7, Bus error." message. > > I'm using Ubuntu 12.04.2 > Apache2.2.22 > PHP 5.3.10-1ubuntu3.6 > > And running

Re: [users@httpd] Security using alias directive in a https vhost

2013-05-17 Thread Tom Evans
On Fri, May 17, 2013 at 7:26 AM, Roland Wegmann wrote: > Dear apache2 experts > > I run three name-based apache2 vhosts on an Ubuntu 12.04 LTS server. > I can reach all three vhosts from the internet using https and FQDN. > My CA is CACert and I adapted the original default-ssl (in sites-available

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi wrote: > It was level 5 and now I have set level 9. > From log it seems that the pattern is blindly applied to every link rather > than matching the query_string > > applying pattern '^ALP33211$' to uri 'index.php' > applying pattern '^ALP33211$' to

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 3:37 PM, Joydeep Bakshi wrote: > > > On 24-May-2013, at 6:46 PM, Tom Evans wrote: > >> On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi >> wrote: >>> It was level 5 and now I have set level 9. >>> From log it seems that the patte

Re: [users@httpd] maximize Apache services

2013-06-10 Thread Tom Evans
On Mon, Jun 10, 2013 at 3:33 PM, motty cruz wrote: > Hi Mike, > > Thanks for your replied; I'm using FreeBSD 9.1, here is the list of modules > > Loaded Modules: > core_module (static) > mpm_prefork_module (static) > http_module (static) > so_module (static) > authn_file_module (shared) > au

Re: [users@httpd] maximize Apache services

2013-06-10 Thread Tom Evans
On Mon, Jun 10, 2013 at 5:49 PM, Tom Evans wrote: > 1) run worker or event MPM instead of prefork And to do so on FreeBSD: # cd /usr/ports/www/apache22 # make WITH_MPM=worker clean all deinstall reinstall clean Cheers

Re: [users@httpd] Proxy load balancer and (a)synchronous I/O

2013-06-18 Thread Tom Evans
On Tue, Jun 18, 2013 at 3:51 PM, marco.signor...@gmail.com wrote: > Hi users, > > I'm configuring the apache httpd server in front of a farm of cometd > servers. The clients interact with the cometd server through long polling > connections. > > Does the httpd server still use a thread-per-request

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread Tom Evans
On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 > > I only know the basics but Apache has been serving us very well with the > below config > > and only after about a week did pages refresh very slowly, up to a mi

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-26 Thread Tom Evans
On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 Sorry, I didn't read your original post. Please upgrade Apache to 2.2.24 and re-test. Cheers Tom

Re: [users@httpd] Re: mod_status shows weird numbers in "Total Accesses"

2013-07-04 Thread Tom Evans
On Wed, Jul 3, 2013 at 7:00 AM, Asaf Dalet wrote: > As i previously mentioned, the apache is actually Oracle-HTTP-Server version > 10.1.3.4.0 > > Asaf > Hi Asaf It's very unlikely that you will be able to entice someone to look in to this very ancient version of Apache for a bug not relating to

Re: [users@httpd] File download transfer fails mod_proxy

2013-07-17 Thread Tom Evans
On Tue, Jul 16, 2013 at 4:43 PM, Smith, Mitchell wrote: > Hi, > > This issue still persists, I have checked the logs but see no errors. > > The access log (Format "%h %l %u %t \"%r\" %>s %b" ) logs > 172.19.203.9 - - [16/Jul/2013:16:14:04 +0100] "GET > /myTestAppL/ThirdpartyPDF/95008450_201212

Re: [users@httpd] "httpd" service timing-out

2013-07-19 Thread Tom Evans
On Thu, Jul 18, 2013 at 10:54 PM, Ajay Garg wrote: > Hi all. > > I have used httpd to good effect since many months (mainly using it > for uploading/downloading files via WebDAV) on a Fedora-18 ARM > machine, and it has always worked like a charm. > > Now, we are in the process of setting up a boo

Re: [users@httpd] Logs analyse

2013-08-01 Thread Tom Evans
On Thu, Aug 1, 2013 at 2:32 AM, Jerry K wrote: > looking at the home page of both products, the last Webalizer update was > April 2011. The last Awffull update was in 2008. > So? The piped logger that I use to rotate my logs was last updated in 2004, it doesn't make it any way not the best damne

Re: [users@httpd] upgrade to apache 2.4.4 and peformance issue

2013-08-02 Thread Tom Evans
On Fri, Aug 2, 2013 at 10:15 AM, S R wrote: > I upgraded from Apache 2.0.63 to 2.4.4 and changed the pages from using jsp > with modcaucho and resin to using modphp 5.4.16. I have seen a significant > reduction in page response times. Does anyone have any suggestions on what > would cause this?

Re: [users@httpd] Rate limiting

2013-09-02 Thread Tom Evans
On Mon, Sep 2, 2013 at 2:17 PM, John Doe wrote: > From: Akash Jain > >> How can i rate limit no. Of requests per ip for a particular url to prevent >> DoS? > > https://www.google.fr/search?q=apache+rate+limit+per+ip > > if only it was that easy... > > DoS attacks use thousands of IPs. > That wo

<    1   2   3   4   5   6   7   >