Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread gary lim
Hi daniel, 1. the intermittent crash happens even before we did any performance tuning of the apache. 2. the reason why we did the tuning is because we want to limit the apache memory usage which previously was due to apache using up all the swap mem causing the crash. rgds On Thu, Dec 17, 200

Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread Daniel Reinhardt
-->From: gary lim -->Sent: 16 December, 2009 16:20 -->To: users@httpd.apache.org -->Subject: [us...@httpd] Apache intermittent crash - HELP!!! --> --> -->Dear all, --> -->1. I'm using Linux 2.6.16.29 and running on i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux -->2. The below info are my mach

Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread Rodrigo Aliste P.
I just noticed that your error log shows: [Tue Dec 15 13:04:22 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting so try adjusting your MaxClient setting and your prefork settings. ( http://httpd.apache.org/docs/2.0/mod/prefork.html) I'm not an expert on tun

Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread Rodrigo Aliste P.
Gary: The same thing happened to one of my servers. After long research I got to the conclusion that the problem was caused by the XCache module. If you have it, try to disable it. Rodrigo 2009/12/16 gary lim > Hi, > > 1. Unfortunately, our website depend heavily on PHP to operate, so it not

Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread gary lim
Hi, 1. Unfortunately, our website depend heavily on PHP to operate, so it not possible for us to disable it. We also highly suspect that the crash is related to one of our php module because we are running a lot of Joomla component. 2. unfortunately, we are unable to track which module is causing

Re: [us...@httpd] best way to modify a URL

2009-12-16 Thread André Warnier
Much, much better, and really clear this time. Oliver Schoenborn wrote: Sorry I didn't notice the html format, I'm amazed that some people were able to understand my question! (only the smart ones) Hopefully it works now. Here is what I am trying to do, 2 separate cases: 1. Client goes to h

Re: [us...@httpd] mod_proxy(_ajp) key=value explanation

2009-12-16 Thread André Warnier
Eric Covener wrote: On Wed, Dec 16, 2009 at 4:42 PM, André Warnier wrote: Hi. In the following kind of directive ProxySet ajp://backend:7001 timeout=15 mentioned in : http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyset to what do the "keys" (in this case, "timeout") really correspo

RE: [us...@httpd] best way to modify a URL

2009-12-16 Thread Oliver Schoenborn
Thanks Justin. I have tried playing around with rules based on what you posted. My findings are in my reply to Andre, which I hope will be clearer than original, if you would like to take another stab at it. Regards, Oliver > -Original Message- > From: Justin Pasher [mailto:just...@ne

Re: [us...@httpd] mod_proxy(_ajp) key=value explanation

2009-12-16 Thread Eric Covener
On Wed, Dec 16, 2009 at 4:42 PM, André Warnier wrote: > Hi. > > In the following kind of directive > > ProxySet ajp://backend:7001 timeout=15 > > mentioned in : > http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyset > > to what do the "keys" (in this case, "timeout") really correspond ? >

RE: [us...@httpd] best way to modify a URL

2009-12-16 Thread Oliver Schoenborn
Sorry I didn't notice the html format, I'm amazed that some people were able to understand my question! Hopefully it works now. Here is what I am trying to do, 2 separate cases: 1. Client goes to http://dodo.foo.com: A. server changes this to http://foo.com/bar B. server returns content (w

[us...@httpd] mod_proxy(_ajp) key=value explanation

2009-12-16 Thread André Warnier
Hi. In the following kind of directive ProxySet ajp://backend:7001 timeout=15 mentioned in : http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyset to what do the "keys" (in this case, "timeout") really correspond ? To the attribute names of the AJP Connector in Tomcat ? Or to some more

Re: [us...@httpd] MaxRequestsPerChild limit is never reached

2009-12-16 Thread André Warnier
Damian Montaldo wrote: On Wed, Dec 16, 2009 at 4:14 PM, Eric Covener wrote: On Wed, Dec 16, 2009 at 2:07 PM, Damian Montaldo wrote: Hi! I have a little doubt. I've setup MaxRequestsPerChild to 1. But when I check how many requests a child served, it never gets to that number, intstead se

[us...@httpd] unable to add digest authentication to .htaccess

2009-12-16 Thread Thomas Anderson
Here's my .htaccess file: AuthType Digest AuthName "..." AuthDigestFile "/path/to/.htdigest" require valid-user Here's my .htdigest file: test:realm:51a7159127025bca529b9d93f062dac7 I generated that with "htdigest -c test.txt realm test" and used "user" as my password. Unfortunately, whenever

Re: [us...@httpd] MaxRequestsPerChild limit is never reached

2009-12-16 Thread Damian Montaldo
On Wed, Dec 16, 2009 at 4:14 PM, Eric Covener wrote: > On Wed, Dec 16, 2009 at 2:07 PM, Damian Montaldo > wrote: >> Hi! I have a little doubt. >> >> I've setup MaxRequestsPerChild to 1. But when I check how many >> requests a child served, it never gets to that number, intstead seems >> to di

Re: [us...@httpd] MaxRequestsPerChild limit is never reached

2009-12-16 Thread Eric Covener
On Wed, Dec 16, 2009 at 2:07 PM, Damian Montaldo wrote: > Hi! I have a little doubt. > > I've setup MaxRequestsPerChild to 1. But when I check how many > requests a child served, it never gets to that number, intstead seems > to die earlier. Is there some kind of 'idle time' or something? > >

[us...@httpd] MaxRequestsPerChild limit is never reached

2009-12-16 Thread Damian Montaldo
Hi! I have a little doubt. I've setup MaxRequestsPerChild to 1. But when I check how many requests a child served, it never gets to that number, intstead seems to die earlier. Is there some kind of 'idle time' or something? I've looked into the prefork.c and it was too big for me. Any suggest

[us...@httpd] Setup Apache 2.0.63 on AIX 6.1.2

2009-12-16 Thread David Quigley
I have been trying to get Apache to work on AIX.Every time I compile with the share=most option, it looks for shared libraries in the ./module directory upon startup. They don't exist so it fails. If I remove the modules from the httpd.conf directory, it works, but I need those modules f

Re: [us...@httpd] Using SSLCipherSuite to restrict to faster cipher algorithms

2009-12-16 Thread Justin Pasher
François Beaune wrote: Sorry, I had overlooked your suggestion. Here's the output of the script: $ ./openssl_check.sh svn.mydomain.net Checking svn.mydomain.net:443 ... + EXP1024-RC4-SHA at Server public key is 2048 bit + EXP1024-DES-C

Re: [us...@httpd] Using SSLCipherSuite to restrict to faster cipher algorithms

2009-12-16 Thread François Beaune
On Wed, Dec 16, 2009 at 5:03 PM, Justin Pasher wrote: > François Beaune wrote: > >> Hey Justin, >> >> Thanks for your answer. I did add the various versions of the >> SSLCipherSuite directive to my virtual host container, sorry if that wasn't >> clear. >> >> In the meantime I found that, by inspe

Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread Nick Kew
On 16 Dec 2009, at 16:20, gary lim wrote: > Dear all, > > 1. I'm using Linux 2.6.16.29 and running on i686 Intel(R) Pentium(R) 4 CPU > 3.00GHz GNU/Linux but no sign of your APR and Apache versions. -- Nick Kew - The officia

Re: [us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread Tom Evans
On Wed, Dec 16, 2009 at 4:20 PM, gary lim wrote: > > Dear all, > > 1. I'm using Linux 2.6.16.29 and running on i686 Intel(R) Pentium(R) 4 CPU > 3.00GHz GNU/Linux > 2. The below info are my machine config and log output > 3. Kindly advise how to resolve intermittent apache crash even after > perf

[us...@httpd] Apache intermittent crash - HELP!!!

2009-12-16 Thread gary lim
Dear all, 1. I'm using Linux 2.6.16.29 and running on i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux 2. The below info are my machine config and log output 3. Kindly advise how to resolve intermittent apache crash even after performance tuning *httpd.conf output *# prefork MPM [DEFAULT IF USE=-

Re: [us...@httpd] Using SSLCipherSuite to restrict to faster cipher algorithms

2009-12-16 Thread Justin Pasher
François Beaune wrote: Hey Justin, Thanks for your answer. I did add the various versions of the SSLCipherSuite directive to my virtual host container, sorry if that wasn't clear. In the meantime I found that, by inspecting the handshake between TortoiseSVN and Apache, the connection does

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Chuck.Payne
- Original Message - From: Krist van Besien To: users@httpd.apache.org Sent: Wed Dec 16 07:17:43 2009 Subject: Re: [us...@httpd] Enabling SSL on a virtual host On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast wrote: > I'm thinking that the host name actually is required in the VirtualHo

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Chuck.Payne
- Original Message - From: Krist van Besien To: users@httpd.apache.org Sent: Wed Dec 16 07:17:43 2009 Subject: Re: [us...@httpd] Enabling SSL on a virtual host On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast wrote: > I'm thinking that the host name actually is required in the VirtualHo

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Krist van Besien
On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast wrote: > I'm thinking that the host name actually is required in the VirtualHost No it is not required. A hostname in a VirtualHost directive is internally converted to an IP address and only needed if this VirtualHost needs to be bound to a particu

Re: [us...@httpd] rewriterules

2009-12-16 Thread Krist van Besien
On Wed, Dec 16, 2009 at 11:24 AM, Rabadan Palenque, Jose wrote: > Hi, > > Whit the help of other member of the list (Antonio) I understood rewriterules > is not what I need, the best option is mod_proxy mod:proxy is one way, and mod_rewrite another. Basically mod_proxy is for simple cases, but f

Re: [us...@httpd] best way to modify a URL

2009-12-16 Thread Norman Peelman
Oliver Schoenborn wrote: I have a simple problem: the URL root for a client website we are setting up is http://foo.com/bar/*, but our client wants access to be it via http://dodo.foo.com /*, how would I set this up? I have used mod_proxy in the past for something similar

Re: [us...@httpd] Help with redirects and port-forwarding.

2009-12-16 Thread Philip Wigg
> What happens if you just replace you last RewriteRule by >     RewriteRule ^(.*)$ http://www.example.co.uk/portal [R=301] > > By doing the [R=301], you are forcing a 301 response back to the browser > anyway, so you might as well make it explicit, and it should not add any > extra overhead. > > O

[us...@httpd] Getting "Error reading header" messages in error_log

2009-12-16 Thread Pravesh Rai
Hi, We are getting either of the following error messages in error_log: [error] [client ::1] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /proxy/ssllogin, referer: Or [error] [client 127.0.0.1] request failed: error reading the headers, referer: & ultimately get

Re: [us...@httpd] Help with redirects and port-forwarding.

2009-12-16 Thread André Warnier
Philip Wigg wrote: Hi, I'm using Apache/1.3.36 and I don't have any room to change the version at the moment. I have a separate Virtual Host listening on port 8001:- DocumentRoot "/opt/apache_1.3.36/htdocs" ServerName www.example.co.uk ErrorLog /var/log/http/example_error_log T

[us...@httpd] Help with redirects and port-forwarding.

2009-12-16 Thread Philip Wigg
Hi, I'm using Apache/1.3.36 and I don't have any room to change the version at the moment. I have a separate Virtual Host listening on port 8001:- DocumentRoot "/opt/apache_1.3.36/htdocs" ServerName www.example.co.uk ErrorLog /var/log/http/example_error_log TransferLog /var/log/h

RE: [us...@httpd] rewriterules

2009-12-16 Thread Rabadan Palenque, Jose
Hi, Whit the help of other member of the list (Antonio) I understood rewriterules is not what I need, the best option is mod_proxy This is what I have: Server.apache Server.plone And I want this: When accessing https://server.apache redirect to http://server.plone but "hiding" the url and show

Re: [us...@httpd] rewriterules

2009-12-16 Thread Krist van Besien
On Mon, Dec 14, 2009 at 12:51 PM, Rabadan Palenque, Jose wrote: >         RewriteRule ^/(.*) > http://ploneserver:8080/VirtualHostBase/https/%{SERVER_NAME}:443/$1 [P] It is perfectly possible to use RewriteRules to proxy a particular URL to another server. And the general pattern is indeed: