Re: [us...@httpd] Re: optimizing apache web server

2009-02-11 Thread J. Bakshi
Anthony J. Biacco wrote: Did you compile apache from source or use a binary package? List any 3rd party modules you're using, if any. Does typo use php? I forget. Run an strace on the apache process consuming the CPU and see what it's doing at the time of trouble. Run lsof on the process to

Re: [us...@httpd] RequesHeader directive not adding directive

2009-02-11 Thread Tom Evans
On Mon, 2009-02-09 at 17:24 +, gerhardus.geldenh...@gta-travel.com wrote: Hi We have a forum site that is behind a load balancer and the site relies on ip addresses to detect failed logins. This does not work because the loadbalancer changes the source ip address to that of itself. our

Re: [us...@httpd] 301 Redirect problem on Apache 2.0.50

2009-02-11 Thread Tom Evans
On Tue, 2009-01-06 at 08:12 -0700, Corey Shaw wrote: Edd, What you're attempting to do is possible using PHP. The header() function allows you to accomplish what you're trying to do. The definition is at http://us2.php.net/manual/en/function.header.php. Putting header('Location:

[us...@httpd] Re: Where is srclib/apr-util/xml/Makefile.in ?

2009-02-11 Thread Ravindra
Please ignore my message, this file is not really needed when --with-expat=builtin is issued. - Ravindra On Tue, Feb 10, 2009 at 8:24 PM, Ravindra kravin...@gmail.com wrote: Hi, When I untar 2.2.10 or 2.2.11, I don't see srclib/apr-util/xml/Makefile.in. Has it been removed intentionally ?

Re: [us...@httpd] user certificates with apache

2009-02-11 Thread Eric Covener
On Tue, Feb 10, 2009 at 11:43 PM, - - jensir...@hotmail.de wrote: Hi, I am recently set-up an environment for testing client certificate based authentication on an apache webserver. The test environment is a recent Ubuntu 8.10 distro with tinyca2 0.7.5 and apache 2.2.9. I have setup a test

Re: Re: [us...@httpd] URL encodig - percent encoding

2009-02-11 Thread Carlos Alarcón
Thanks a lot for the full explanation. You are totally right that it is my application the one that should keep consistency with the URL's it offers and the files they are mapped into. Actually this is my hole problem. It is supposed to be a service creation environment for web applications

Re: [us...@httpd] user certificates with apache

2009-02-11 Thread Karel Kubat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Actually I think that this may be a browser issue. Not apache, but the browser is asking which client certificate you want to present to the server. I know that in Firefox there's an option which lets you either always ask the user, or

[us...@httpd] Threaded MPM + mod_php/mod_python/mod_perl/mod_ruby.. thread safe?

2009-02-11 Thread howard chen
Hello, According to PHP install guide, it said... http://hk.php.net/manual/en/faq.installation.php#faq.installation.apache2 PHP is glue. It is the glue used to build cool web applications by sticking dozens of 3rd-party libraries together and making it all appear as one

[us...@httpd] web servers behind a load-balancer

2009-02-11 Thread Harald Falkenberg
Hallo, I like to study concepts of how to build up and run a farm of web servers behind a load-balancer. What things I have to be aware and how to administrate a farm of apache servers, to keep their configuration equal. Please point me to recommandable nice how-tos or best-practice papers.

[us...@httpd] Redirection from http to https and sslrequiressl in .htaccess

2009-02-11 Thread Harald Falkenberg
Hi, I'm looking for a way to redirect parts of a url tree from a http talking virtual host to a https talking virtual host. RedirectMatch or ReWrite Rules work in principal, but I have also a .htaccess file with the rule sslrequiressl rule on the non https vh server, which is checked

Re: [us...@httpd] web servers behind a load-balancer

2009-02-11 Thread Daniel Qian
you might be interested to read through this web site http://www.linuxvirtualserver.org/ - Original Message - From: Harald Falkenberg harald.falkenb...@desy.de To: users@httpd.apache.org Sent: Wednesday, February 11, 2009 11:16 AM Subject: [us...@httpd] web servers behind a

RE: [us...@httpd] Threaded MPM + mod_php/mod_python/mod_perl/mod_ruby.. thread safe?

2009-02-11 Thread Anthony J. Biacco
It can pretty much be said about anything that uses libraries that are not thread-safe, yes. While things like mod_perl are thread safe with ithreads as far as apache is concerned, mod_perl won't guarantee the thread-safeness of talking to the libraries, nor will any other mod_* probably that uses

Re: [us...@httpd] Threaded MPM + mod_php/mod_python/mod_perl/mod_ruby.. thread safe?

2009-02-11 Thread Eric Covener
On Wed, Feb 11, 2009 at 11:08 AM, howard chen howac...@gmail.com wrote: But I just wonder, isn't all mod_php/mod_python/mod_perl/mod_ruby are relying on the same set of popular 3rd party libraries? e.g. zlib, libxml, expat, iconvso the above statement is also true in

Re: [us...@httpd] xml question

2009-02-11 Thread Eric Covener
On Wed, Feb 11, 2009 at 11:35 AM, Marty Enright ma...@hghtk.com wrote: Have a box running win xp pro apache 2.2 running php 5, I have a device that sends a xml file to my box what do I need in the apache for it to run the file here is the error (Invalid URI in request POST test.php HTTP/1.1)

Re: [us...@httpd] xml question

2009-02-11 Thread André Warnier
Marty Enright wrote: Have a box running win xp pro apache 2.2 running php 5, I have a device that sends a xml file to my box what do I need in the apache for it to run the file here is the error (Invalid URI in request POST test.php HTTP/1.1) And do you also talk like you write ? I mean, if

RE: [us...@httpd] xml question

2009-02-11 Thread Marty Enright
Are you always a dick head? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, February 11, 2009 11:44 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] xml question Marty Enright wrote: Have a box running win xp pro apache 2.2 running

RE: [us...@httpd] xml question

2009-02-11 Thread Marty Enright
If I use a web browser to run the test php program it runs correctly when I use my device to run the php program it fails the device is supposed to use xml or http to send the info I am thinking I need something else running in apache any ideas??? -Original Message- From: Eric Covener

RE: [us...@httpd] Redirection from http to https and sslrequiressl in .htaccess

2009-02-11 Thread Anthony J. Biacco
You don't need the sslrequiressl in .htaccess anymore if in the http vhost you're redirecting it to the https one all the time with a redirect or whatever. It should never end up in the dir with http. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27

RE: [us...@httpd] user certificates with apache

2009-02-11 Thread Anthony J. Biacco
I would also say post the verbatim config. The way it looks currently is that you have the sslverifyclient and sslrequire in the whole site/vhost config, when you probably should put it in a Directory /var/www/secret directive. -Tony --- Manager, IT Operations Format

Re: [us...@httpd] URL encodig - percent encoding

2009-02-11 Thread André Warnier
Carlos Alarcón wrote: Thanks a lot for the full explanation. You are totally right that it is my application the one that should keep consistency with the URL's it offers and the files they are mapped into. Actually this is my hole problem. It is supposed to be a service creation environment

[us...@httpd] Redirecting https connection

2009-02-11 Thread Kirthi Narayan
Hi All, I appreciate if any one in this forum could help me in this problem. Here is the following of our setup. 1. We have set of servers behind the load balancer 2. We are running http and https on these servers 3. We have bought wild card ssl certificate *.xyz.com 4. Our configuration would

Re: [us...@httpd] Threaded MPM + mod_php/mod_python/mod_perl/mod_ruby.. thread safe?

2009-02-11 Thread Nick Kew
On Thu, 12 Feb 2009 00:08:08 +0800 howard chen howac...@gmail.com wrote: But I just wonder, isn't all mod_php/mod_python/mod_perl/mod_ruby are relying on the same set of popular 3rd party libraries? e.g. zlib, libxml, expat, iconvso the above statement is also true in

RE: [us...@httpd] Redirecting https connection

2009-02-11 Thread Anthony J. Biacco
1. Are xyz.com and www.xyz.com under the same virtual host? Do they resolve to the same IP address? 2. Are you sure you have the wildcard ssl cert configured in apache and reloaded the config? Look at the cert in your browser when you go to www.xyz.com. The CN value in the cert should

Re: [us...@httpd] Redirecting https connection

2009-02-11 Thread Karel Kubat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you seem to have two separate problems: We have bought wild card ssl certificate *.xyz.com Now the problem is when the user hits with xyz.com we get invalid certiciate. but if we hit through www.xyz.com it is working fine. I used the read

Re: [us...@httpd] Apache 1.3.41 child process crashing while serving ssl connection.

2009-02-11 Thread Brian A. Seklecki
On Wed, 2009-02-11 at 12:33 +0530, Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: [Mon Feb 9 15:27:23 2009] [notice] child pid 15128 exit signal Segmentation Fault (11) The normal course of action is to strace(8) or ktrace(8) the process. Try: $ sudo ktrace -i httpd

Re: [us...@httpd] Apache Perl/CGI Question

2009-02-11 Thread Tom Evans
On Fri, 2009-01-09 at 18:08 +0100, Günther Kastenfrosch wrote: Hi Michael, thanks for your response. 2009/1/9 Michael Ludwig m...@as-guides.com: What about setting up various Apache instances for your developers? I can't see that this would help. I cannot even tell the apache server root

Re: [us...@httpd] optimizing apache web server

2009-02-11 Thread Sean Conner
It was thus said that the Great J. Bakshi once stated: I am running an apache server at a remote debian box which have 4 GB RAM and quad-core intel CPU. During the development period the site was first. But after finishing the site when people start to access it, the site some times become

Re: [us...@httpd] user certificates with apache

2009-02-11 Thread Sean Conner
It was thus said that the Great - - once stated: Hi, I am recently set-up an environment for testing client certificate based authentication on an apache webserver. The test environment is a recent Ubuntu 8.10 distro with tinyca2 0.7.5 and apache 2.2.9. I have setup a test root CA, two

[us...@httpd] Apache gets slow until restart - why?

2009-02-11 Thread Cyril Spiro
Hi, We are running a web app written in perl via Apache 2.0 on Linux RHEL4 within an intranet. Users complained that the app performance was slower than usual. After testing everything from the network to the server drives, we found that the solution is to restart apache. Every time users

Re: [us...@httpd] robots.txt and rewrite rule

2009-02-11 Thread Tom Evans
On Sat, 2009-01-24 at 16:53 +0100, Norman Khine wrote: Hi, Eric Covener wrote: On Sat, Jan 24, 2009 at 10:20 AM, Norman Khine nor...@khine.net wrote: [Sat Jan 24 18:46:57 2009] [error] [client 86.219.32.244] client denied by server configuration: /usr/htdocs You don't have a

[us...@httpd] apache response before chunked request complete

2009-02-11 Thread Jon Grossmann
Hello, I have an application where the client streams up to 10-20 seconds of Transfer-Encoding: chunked data to a fastcgi program behind apache. Sometimes I would like to return an early response to the client (which is not a browser) even while the client is still sending data. My client is