[us...@httpd] Re: Help !!! Apache HTTP process consumes high memory usage

2010-05-13 Thread Arunkumar Janarthanan
I could see its most of them from PHP and its components. 2ba99536f000 3168K r-x-- /usr/lib64/httpd/modules/libphp5.so 2ba995687000 2048K - /usr/lib64/httpd/modules/libphp5.so 2ba995887000288K rw--- /usr/lib64/httpd/modules/libphp5.so 2ba99a751000 56K r-x-- /us

[us...@httpd] Help !!! Apache HTTP process consumes high memory usage

2010-05-13 Thread Arunkumar Janarthanan
Hi, I have build an Apache instance 2.2.15 with prefork MPM and most of the modules as shared. I have PHP and MYSQL installed and configured on this machine (MYSQL client) with this every process created by Apache daemon consumes 280M memory almost for each call. I am running on RHEL 5 with 5 Gi

Re: [us...@httpd] htaccess format howto question

2010-05-13 Thread Jason Nunnelley
On 5/13/10 8:08 PM, David Banning wrote: I am wondering how I might do a .htaccess redirect if I want to redirect domain.com/index.php?id=606 to domain.com Same domain (as I assume because domain.com and domain.com are the same). First, you'll need to set up the rewrite basics. RewriteEngin

Re: [us...@httpd] htaccess format howto question

2010-05-13 Thread Eric Covener
On Thu, May 13, 2010 at 9:42 PM, Igor Cicimov wrote: > ReewriteEngine On > RewriteCond %{QUERY_STRING} ^id=606$ > RewriteRule ^/index.php$ http://domain.com [R,L] Need to drop the leading slash in regex -- Eric Covener cove...@gmail.com -

Re: [us...@httpd] htaccess format howto question

2010-05-13 Thread Igor Cicimov
ReewriteEngine On RewriteCond %{QUERY_STRING} ^id=606$ RewriteRule ^/index.php$ http://domain.com [R,L] Not tested but should work. Igor On Fri, May 14, 2010 at 11:08 AM, David Banning wrote: > I am wondering how I might do a .htaccess redirect if I want to redirect > > domain.com/index.php?id

Re: [us...@httpd] NameVirtualHost *:80 has no VirtualHosts

2010-05-13 Thread Norman Peelman
Krist van Besien wrote: On Wed, May 12, 2010 at 3:21 PM, Tapas Mishra wrote: I have 5 websites and all of them are different. i.e. /etc/apache2/sites-enabled/site1.conf /etc/apache2/sites-enabled/site2.conf /etc/apache2/sites-enabled/site3.conf /etc/apache2/sites-enabled/site4.conf /etc/

[us...@httpd] htaccess format howto question

2010-05-13 Thread David Banning
I am wondering how I might do a .htaccess redirect if I want to redirect domain.com/index.php?id=606 to domain.com I have been pouring over many apache how-to's and have not been able to find an answer as yet. - The offici

Re: [us...@httpd] mod_speling issues

2010-05-13 Thread Donovan Brooke
O.K., for others who may run into this, it appears to be that this was fixed in 2.2.9 http://www.apache.org/dist/httpd/CHANGES_2.2 (do a page search for 'mod_speling') Looks like I'm in need for an upgrade. Donovan -- D Brooke --

[us...@httpd] pileup of httpd processes in RUN state

2010-05-13 Thread Luke Smith
I have an on-again-off-again problem with httpd procs in RUN state piling up and choking the server. My load goes over 100, CPU and memory are consumed, and the site goes down. I can't isolate why it happens at some times and not others. I feel like I must be committing some basic config error. Doe

Re: [us...@httpd] NameVirtualHost *:80 has no VirtualHosts

2010-05-13 Thread Krist van Besien
On Wed, May 12, 2010 at 3:21 PM, Tapas Mishra wrote: > I have 5 websites and all of them are different. > i.e. /etc/apache2/sites-enabled/site1.conf >  /etc/apache2/sites-enabled/site2.conf >  /etc/apache2/sites-enabled/site3.conf >  /etc/apache2/sites-enabled/site4.conf >  /etc/apache2/sites-enab

[us...@httpd] Apache 2.2 slow transfers on Windows Server 2003

2010-05-13 Thread Cameron Altenhof-Long
We're having a performance problem with Apache running on Windows Server 2003 and have not been able to resolve it using any of the previously mentioned suggestions. The server runs Windows Server 2003 SP2 and Apache 2.2.13. We have also tested Apache 2.2.15 on Windows Server 2008 through an A

Re: [us...@httpd] Apache strange(?) DNS problem

2010-05-13 Thread Matija Levec
That's exactly what I would expect. But with Apache 2.0.63 (and also stock 2.2.3) on CentOS 5.4 I have problems described earlier - for a host in /etc/hosts Apache queries DNS while other programs (e.g. ping) correctly use resolver. Config and tests were recheked by my co-worker who confirmed

Re: [us...@httpd] mod_speling issues

2010-05-13 Thread Donovan Brooke
An example here: working URL: http://host1.webdna.us/techpros.webdna.us/naplesbeachhotel.com/reservations/reservations.html Change_the_'r'_to_'R'..^ And try again. Thx, Donovan -- D Brooke

Re: [us...@httpd] Apache Sending Email?

2010-05-13 Thread Nick Kew
On 12 May 2010, at 01:51, Frank Gingras wrote: >> In our email log. Clearly spam email but why apa...@dweb57.zenutech.com? >> Apache/2.2.9 (Unix) >> Any ideas? > > Chris, > > Apache httpd doesn't send emails. php does. Ask the php mailing list. Not quite. Neither Apache nor PHP sends email, b

[us...@httpd] mod_speling issues

2010-05-13 Thread Donovan Brooke
Apache/2.2.8 Fedora 2.6.25.9-76.fc9.x86_64 mod_spelling seems to be working for case insensitive calls to filenames, but not directories. Anyone have an idea on how to fix it so it works with directories as well? Thanks, Donovan -- D Brooke -

Re: [us...@httpd] Is it possible to use mod_speling together with mod_rewrite?

2010-05-13 Thread Eric Covener
On Thu, May 13, 2010 at 9:06 AM, Sandro Tosi wrote: > Hello, > really no-one has ever used mod_speling together with mod_rewrite? Have you tried the PT flag on your rewriterule substitution? -- Eric Covener cove...@gmail.com -

Re: [us...@httpd] Apache strange(?) DNS problem

2010-05-13 Thread Eric Covener
On Thu, May 13, 2010 at 10:02 AM, Matija Levec wrote: > I can confirm that almost exactly the same config also works on Apache 2.0.59 > on CentOS 4.8 . > On the exact same system? Apache just calls into the resolver. -- Eric Covener cove...@gmail.com -

Re: [us...@httpd] Apache strange(?) DNS problem

2010-05-13 Thread Matija Levec
I can confirm that almost exactly the same config also works on Apache 2.0.59 on CentOS 4.8 . Ideas anyone?? Regards, Matija >>> "Matija Levec" 11.5.2010 11:46 >>> Hi. I've got working configuration with Apache 2.0.46 on RHEL3 described below. Apache is configured as forwarding proxy and has

Re: [us...@httpd] Is it possible to use mod_speling together with mod_rewrite?

2010-05-13 Thread Sandro Tosi
Hello, really no-one has ever used mod_speling together with mod_rewrite? Sandro On 04/21/2010 11:49 AM, Sandro Tosi wrote: Does someone have experience in using mod_speling together with mod_rewrite? On 04/19/2010 03:20 PM, Sandro Tosi wrote: Hello, we are using extensively mod_rewrite t