[EMAIL PROTECTED] How can my code determine which MPM is being use without looking at the httpd.conf

2007-01-30 Thread Khai Doan
How can my code determine which MPM is being use without looking at the httpd.conf ? Does apache export an environment variable for this ? Thanks Khai

RE: [EMAIL PROTECTED] Remote log files?

2006-06-30 Thread Khai Doan
For me, I wrote a simple script send_apache_log.pl, which read apache log files, print it to STDOUT, remember where it left off by writing to a file in /tmp. I install this on the servers. Then on my other workstation, I have another script collect_apache_log.pl, which run periodically via cro

[EMAIL PROTECTED] Apache2 and lingerd

2006-03-21 Thread Khai Doan
Hello, I am using Apache2, and want to know if I need to use lingerd. Has Apache2 fixed the lingering_close problem? Thank you, Khai - The official User-To-User support forum of the Apache HTTP Server Project. See http://h

[EMAIL PROTECTED] Problem with mod_perl2

2006-03-06 Thread Khai Doan
Hi All, I am using RedHat ES 4, apache2, modperl2 and I get this message: The LENGTH argument can't be negative at and the line in my code that cause this message: $r->read($buf,0); mod_perl version: 1.99_16-4 apache version: 2.0.52 I've googled, but did not find any clue. Anyone can help?

Re: [EMAIL PROTECTED] OS Env variables - TMP

2006-03-01 Thread Khai Doan
To use environment variable in httpd.conf: ${SERVERROOT} This works for me. I am running apache 2 on linux fedora core 2. Khai From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: "users" Subject: Re: [EMAIL PROTECTED] OS Env variables - TMP Date: Wed, 1 Mar

[EMAIL PROTECTED] How to limit the size of each apache child process

2006-02-28 Thread Khai Doan
Hi list, I am running apache 2 using prefork model, and wish to limit the size of each apache process. After a request, it should check its size, and if exceed a certain threshold, terminate itself. I have looked at RLimitMEM directive, but it says that this directive only apply to subproces

[EMAIL PROTECTED] mod_status and ListenBackLog

2006-02-24 Thread Khai Doan
Can mod_status show the number of pending connections? What should I be looking for? Thanks Khai - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for mo

[EMAIL PROTECTED] php.ini question for php gurus

2006-02-23 Thread Khai Doan
In apache config file, we can include another config file such as: Includes conf/ssl.conf Is it possible to do the same with the php.ini file ? Thank you, Khai - The official User-To-User support forum of the Apache HTTP Ser

RE: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-20 Thread Khai Doan
Check out http://www.linuxvirtualserver.org/ Khai From: "James Wuerflein" <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: Subject: [EMAIL PROTECTED] Soft. Load Balancer Recommendations Date: Sun, 19 Feb 2006 17:26:09 -0600 I'm looking for a software load balancer solution where I co

RE: [EMAIL PROTECTED] SSL Virtual Host Problem

2006-02-19 Thread Khai Doan
I don't know anything about the directive. Can you let me know what that is? Also I am not sure if I understand your problem. Try this: ServerAdmin [EMAIL PROTECTED] DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/cvpcms/platform" ServerName host1.domain.net Err

[EMAIL PROTECTED] storing log data in a database

2006-02-17 Thread Khai Doan
Hi All, I am thinking about storing the log data in a database. What do you think about it? Is it a good idea or bad idea? Thanks Khai - The official User-To-User support forum of the Apache HTTP Server Project. See http:

RE: AW: [EMAIL PROTECTED] Problems with several ssl-certs and dyndns machine

2006-02-16 Thread Khai Doan
The following resource may help: http://wiki.cacert.org/wiki/VHostTaskForce http://marc.theaimsgroup.com/?l=openssl-users http://www.cacert.org/ I recently set up a certificate authority, import my CA certificate into the browser, and attempt to use that CA certificate to sign for *.domain.com

[EMAIL PROTECTED] Modify the output of top to show the page being served

2006-02-15 Thread Khai Doan
Hi List, Is it possible to modify the output of top to show the page being served in the command column? In mod_perl you can do $0 = $url; and that will work. Is there a configuration directive to achieve the same thing when not using mod_perl ? Thanks Khai -

[EMAIL PROTECTED] Does anyone know how well MSIE support HTTP to TLS upgrade (RFC 2817) now ?

2006-02-10 Thread Khai Doan
Does anyone know how well MSIE support HTTP to TLS upgrade (RFC 2817) now ? Does Microsoft has any plan to support RFC 2817? Khai - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.

[EMAIL PROTECTED] Multiple SSL certificates with single virtual host

2006-02-04 Thread Khai Doan
I need to serve multiple domains each with a different SSL certificates, but I wish to only use one virtual host.  Is it possible to put all certificates in one file and have apache serve the right certificate?  What else can I do ?   Khai -

[EMAIL PROTECTED] double wild card ssl certificates

2006-02-03 Thread Khai Doan
My company has a wild card SSL server certificate *.domain.com . However we need to use double wild card certificate *.*.domain.com. Can I use *.domain.com (which is a server certificate, signed by a trusted root CA) to sign the *.*.domain.com ? I have read elsewhere that I need an intermedi

Re: [EMAIL PROTECTED] Transfer-Encoding: chunked

2006-01-24 Thread Khai Doan
n 1/24/06, Khai Doan <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I am trying to tune my apache mod_perl server, and I notice that it is > sending response header Tranfer-Encoding: chunked . What is this for? What > module is sending this? Is there a way to prevent this

Re: [EMAIL PROTECTED] mod_perl not sending Content-Length header

2006-01-24 Thread Khai Doan
users@httpd.apache.org To: Subject: Re: [EMAIL PROTECTED] mod_perl not sending Content-Length header Date: Tue, 24 Jan 2006 11:45:05 +0200 Hi, Use the following method: $r->set_content_length(length($content)); Upgrading mod_perl is also a good idea. Teddy ----- Original Message - Fr

[EMAIL PROTECTED] Transfer-Encoding: chunked

2006-01-24 Thread Khai Doan
Hello everyone, I am trying to tune my apache mod_perl server, and I notice that it is sending response header Tranfer-Encoding: chunked . What is this for? What module is sending this? Is there a way to prevent this ? Thank you. -

[EMAIL PROTECTED] mod_perl not sending Content-Length header

2006-01-23 Thread Khai Doan
Hello everyone,   I have Fedora Core 2 which has Apache/2.0.51 and mod_perl-1.99_12-2.1 .  I am using mod_perl to generate dynamic content, and I always know the length of the content I will be sending to the browser.  So I have Keep-Alive On.  In my code, I call:   $r->headers_out->add("Content-Le

[EMAIL PROTECTED] Using environment variable in httpd.conf

2006-01-18 Thread Khai Doan
I am a mod_perl programmer, and I also manage my company web server.  We are growing and constantly adding new features to our products.  I find myself making change to the httpd.conf very frequent.  Sometimes, I change httpd.conf on the development server, and later forget to apply the change to h