[EMAIL PROTECTED] high load average httpd

2007-03-08 Thread Bing Du
Hi, Apache 2.0.52. Linux 2.6.9-5.0.5.ELsmp #1 SMP Fri Apr 8 14:29:47 EDT 2005 i686 i686 i386 GNU/Linux When I run 'top', I saw quite a few httpd running. Some were using 50% or above CPU. Now that I know PID of each one, how can I know what each httpd is doing? Where is the httpd connection co

[EMAIL PROTECTED] Can log files be renamed with httpd is running?

2007-04-26 Thread Bing Du
Hi, Linux 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 athlon i386 GNU/Linux Server version: Apache/2.0.52 Server built: Aug 31 2005 10:47:52 Right now the access log is named like access_log.site1.some.edu. I want to change it to site1.some.edu.access_log. Can I do the followi

Re: [EMAIL PROTECTED] Can log files be renamed with httpd is running?

2007-04-26 Thread Bing Du
> Hi, > > Linux 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 athlon > i386 GNU/Linux > Server version: Apache/2.0.52 > Server built: Aug 31 2005 10:47:52 > > Right now the access log is named like access_log.site1.some.edu. I want > to change it to site1.some.edu.access_log. Can

[EMAIL PROTECTED] redirect without changing URL?

2006-08-25 Thread Bing Du
Hello, We're running Apache 2.0.52 on RHEL 4. After moving a site to a new Apache server that has a new file structure, we did redirect for a customer to keep their old URL working. The redirection http://www.dept.some.edu/somegroup => http://www.dept.some.edu/long/path/to/somegroup works fine

Re: [EMAIL PROTECTED] redirect without changing URL?

2006-08-25 Thread Bing Du
> Start here: > http://httpd.apache.org/docs/2.2/urlmapping.html > > What you want is probably a simple Alias. > > But note that it is best not to have two permanent URLs mapping to the > same place. So you should make one URL or the other be a Redirect. Thanks for the quick response. What if I

Re: [EMAIL PROTECTED] redirect without changing URL?

2006-08-25 Thread Bing Du
> You could use > AliasMatch ^/group/$ /var/www/html/log/path/to/group/overview.html > Alias /group/ /var/www/html/log/path/to/group/ > The above config triggers the following warning: [warn] The Alias directive in /etc/httpd/conf.d/dept.conf at line 19 will probably never match because it overla

Re: [EMAIL PROTECTED] redirect without changing URL?

2006-08-25 Thread Bing Du
>> You could use >> AliasMatch ^/group/$ /var/www/html/log/path/to/group/overview.html >> Alias /group/ /var/www/html/log/path/to/group/ >> > > The above config triggers the following warning: > > [warn] The Alias directive in /etc/httpd/conf.d/dept.conf at line 19 will > probably never match becau

Re: [EMAIL PROTECTED] I'm worried...

2006-08-29 Thread Bing Du
> Hi, > > I use Apache2 on Mandrake 10.1. > > I installed it recently. I build a simple web site which allows to > download > tips as PDF Files. > I created the original PDF Files on my computer. I can read them with no > problem. > I transfered them to my website, first using Samba. > I notice the

[EMAIL PROTECTED] unknow sites found in access_log?

2006-08-30 Thread Bing Du
Hi, Apache 2.0.52 on RHEL 4. Can anybody shed some light on why our access_log has the following messages?Is the server being used as proxy or something by somebody else? Thanks in advance. 222.185.24.17 - - [30/Aug/2006:08:37:57 -0500] "GET http://ad.zanox.com/ppv/?4021489C329206511 HTTP/1

Re: [EMAIL PROTECTED] unknow sites found in access_log?

2006-08-30 Thread Bing Du
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyrequests > Thanks for the pointer. Hmmm...but I don't see the proxy service is turned on in the httpd.conf. What else I should suspect? == LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

Re: [EMAIL PROTECTED] unknow sites found in access_log?

2006-08-30 Thread Bing Du
> See: > http://httpd.apache.org/docs/1.3/misc/FAQ.html#proxyscan > > Joshua. Aha! Just looking at the question itself already makes me feel like finding out a long lost friend. I'm reading the answer now. Thanks a lot! Bing

Re: [EMAIL PROTECTED] unknow sites found in access_log?

2006-08-30 Thread Bing Du
>> See: >> http://httpd.apache.org/docs/1.3/misc/FAQ.html#proxyscan >> >> Joshua. > > Aha! Just looking at the question itself already makes me feel like > finding out a long lost friend. I'm reading the answer now. Thanks a > lot! > I'm now confused by what the pointer says: 'Therefore you ca

Re: [EMAIL PROTECTED] unknow sites found in access_log?

2006-08-30 Thread Bing Du
> The part after the ? is the query string, not the filename. Do you > have a directory "ppv" on your server? If so, this might be normal. > If not, you are either proxying requests or you are returning 200 > (success) status codes for requests to non-existant files. Either > way, you have a pro

[EMAIL PROTECTED] how to comment out a large section in httpd.conf?

2006-10-03 Thread Bing Du
Hi, The document http://httpd.apache.org/docs/2.0/configuring.html says: == Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines that begin with the hash character "#" are considered comments, and are ignored. Comments may not be

[EMAIL PROTECTED] reload or restart for php.ini changes to take effect?

2006-12-21 Thread Bing Du
Hi, Apache/2.0.52 PHP Version 4.3.9 I changed safe_mode and safe_mode_exec_dir in my php.ini. To make the changes take effect, should I reload or restart httpd? Thanks in advance, Bing - The official User-To-User support foru

Re: [EMAIL PROTECTED] reload or restart for php.ini changes to take effect?

2006-12-21 Thread Bing Du
> On Thu, December 21, 2006 10:46 am, Bing Du wrote: >> Apache/2.0.52 >> PHP Version 4.3.9 >> >> I changed safe_mode and safe_mode_exec_dir in my php.ini. To make the >> changes take effect, should I reload or restart httpd? > [snip...] > You also wa