[us...@httpd] Default page location

2009-07-26 Thread Jos Chrispijn
I would like to force all domain requests _not_ being defined in my httpd.conf to be shown a special pre-defined web page with the requested domein displayed in that page. Can someone please tell me how I can do this? Web pages etc. are no problem, just the way to configure this in Apache

[us...@httpd] MaxRequestsPerChild and MaxKeepAliveRequests clarification

2009-07-26 Thread Jonathan Cutting
Hi all, I'm running Apache 2.2.9 on a machine with 4G of RAM, and the server experiences about 100,000 hits a day, ~1G bandwidth and about 30,000 page requests. It's running several instances of a large PHP web app so there are comparatively few users who between them request many pages

Re: [us...@httpd] Cron to check that domains are running

2009-07-26 Thread Jos Chrispijn
sbogde wrote: I'm upset because sometimes (rarely, though) I discovered (by opening www.domainX.com in the browser) that my domains did not work and I had to restart apache using my root privileges. I think it is worth first to find out why this happens. Did you investigate your logfiles?

Re: [us...@httpd] Default page location

2009-07-26 Thread Krist van Besien
On Sun, Jul 26, 2009 at 9:45 AM, Jos Chrispijnapa...@webrz.net wrote: I would like to force all domain requests _not_ being defined in my httpd.conf to be shown a special pre-defined web page with the requested domein displayed in that page. Can someone please tell me how I can do this? Web

Re: [us...@httpd] Default page location

2009-07-26 Thread Nick Kew
Krist van Besien wrote: Normally all requests for virtual hosts not defined in your httpd.conf will be handled by the default virtual host, which is the first one. So in your httpd.conf you jsut add a virtualhost before all others. In this virtual host you can just have a default page. Maybe

Re: [us...@httpd] MaxRequestsPerChild and MaxKeepAliveRequests clarification

2009-07-26 Thread Nick Kew
Jonathan Cutting wrote: Hi all, I'm running Apache 2.2.9 on a machine with 4G of RAM, and the server experiences about 100,000 hits a day, ~1G bandwidth and about 30,000 page requests. That's about 100 times more memory than you should need for the load :) It's running several instances of

Re: [us...@httpd] MaxRequestsPerChild and MaxKeepAliveRequests clarification

2009-07-26 Thread Jonathan Cutting
Nick, many thanks for your response. I'm running xcache on the server and it uses about 1.5G of the 4G memory caching all the php scripts, so Apache isn't using quite as much memory as it might seem at first. There are not many images but each request can include up to 100 php scripts. On

[us...@httpd] missing content-length header for HEAD request in mod_jk 1.2.28 with tomcat 6.0.18

2009-07-26 Thread Sameer Naik
Hi, We observed that content-length header is missing in response headers for a HEAD request when used along with Apache 2.0.53, mod_jk 1.2.28 and tomcat 6.0.18. The header appears correctly when only mod_jk is rolled back to version 1.2.21 (the previous production version for us). Is this

Re: [us...@httpd] missing content-length header for HEAD request in mod_jk 1.2.28 with tomcat 6.0.18

2009-07-26 Thread Nick Kew
On 26 Jul 2009, at 23:44, Sameer Naik wrote: Hi, We observed that content-length header is missing in response headers for a HEAD request when used along with Apache 2.0.53, mod_jk 1.2.28 and tomcat 6.0.18. The header appears correctly when only mod_jk is rolled back to version 1.2.21

[us...@httpd] Configure with --target option

2009-07-26 Thread Enrique Strada
Hi, Does any body know how to use --target option in ./configure script? I'm working in linux Debian and I would like to compile Apache for an AIX system, I was googling around and I came across with the --target option but I couldn't find any example about that, so this is what I want: I am in