Re: [us...@httpd] build httpd with OS's PCRE lib

2009-02-10 Thread Bob Ionescu
2009/2/10 Ralf Peng ralf.p...@gmail.com: How to build Apache with pcre lib provided by OS (such as Linux)? ( by default apache was built with bundled PCRE library, is it?) 2.0 and 2.2, yes, 2.3/2.4 stop bundling it. I'm using httpd-2.0.59 from the sources. when I run ./configure --help |grep

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

2009-02-10 Thread Nicholas Sherlock
J. Bakshi wrote: 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 very very very slow. There is no noticeable

[us...@httpd] problem installing DSO module

2009-02-10 Thread Pieter Donche
I want to install mod_expires in our Apache2.2.9 as a DSO. My Apache has mod_so and is installed in /home/apache_229bis My Apache sources are in /home/wins/builds/src/other/httpd-2.2.9 # /home/apache_229bis/bin/apxs -c /home/wins/builds/src/other/httpd-2.2.9/module s/metadata/mod_expires.c

[us...@httpd] Question about mod_rewrite

2009-02-10 Thread Christopher Long
Hello: I've been looking for a web server that would be capable of forwarding incoming messages to proper handlers and I've come across the rewrite mod for Apache. From what I've read it seems like it would work, but just to confirm, can anyone tell me if it would be able to handle the following

Re: [us...@httpd] Question about mod_rewrite

2009-02-10 Thread Otheus
For this (2 and 3) you need to use Apache's proxy module, not the rewrite engine. On Tue, Feb 10, 2009 at 4:32 PM, Christopher Long kord...@gmail.com wrote: Hello: I've been looking for a web server that would be capable of forwarding incoming messages to proper handlers and I've come across

[us...@httpd] make install fails on Solaris sun box

2009-02-10 Thread Phil Pinkerton
the configure and make work without a hitch but when I get to make install I get the error below. if someone can explain what is going on here and how I might correct it would be terrific. make: Fatal error: Command failed for target `install-recursive' Current working directory

[us...@httpd] mod_file_cache works wierdly

2009-02-10 Thread ha a
hi, guys, My httpd is 2.2.3 on FC3, compiled from source codes. These days, I am working on mod_file_cache for improve the performance. So, I used apxs to generate the .so, and modified the httpd.conf and I also added CacheFile /path/to/targetFile or MMapFile /path/to/targetFile at the end of

Re: [us...@httpd] make install fails on Solaris sun box

2009-02-10 Thread Eric Covener
On Tue, Feb 10, 2009 at 10:59 AM, Phil Pinkerton pcpinker...@gmail.com wrote: the configure and make work without a hitch but when I get to make install I get the error below. if someone can explain what is going on here and how I might correct it would be terrific. make: Fatal error: Command

[us...@httpd] cache POST requests

2009-02-10 Thread Anthony J. Biacco
Hello, I'm using apache 2.2.11 on centos 5/x86_64 I'm testing out caching data for GET requests using mod_disk_cache, which I have working. I'd also like to cache data for the same requests via the POST method, but this doesn't seem to work. Is this supported? If so, is there any config changes

Re: [us...@httpd] cache POST requests

2009-02-10 Thread André Warnier
Anthony J. Biacco wrote: Hello, I'm using apache 2.2.11 on centos 5/x86_64 I'm testing out caching data for GET requests using mod_disk_cache, which I have working. I'd also like to cache data for the same requests via the POST method, but this doesn't seem to work. Is this supported? If so, is

[us...@httpd] problem with mod_evasive

2009-02-10 Thread Ivo Kostikov
Hey. I have a problem with apache 2.2.9 on gentoo system. mod_evasive just does not work. grep -v # /etc/conf.d/apache2 APACHE2_OPTS=-D DEFAULT_VHOST -D LANGUAGE -D PHP5 -D EVASIVE -D CHROOT PIDFILE=/var/run/apache2.pid Apache is using mpm-itk and mod_chroot. Apache version is 2.2.9-r1 Chroot

RE: [us...@httpd] cache POST requests

2009-02-10 Thread Anthony J. Biacco
I did in fact read the rfc before I posted, but it seems to me that once you're doing proxying to an application server, these facts don't apply anymore. I could be way off base. But a GET proxied to an application server doesn't have to, and (depending on how the webapp is designed) doesn't

Re: [us...@httpd] cache POST requests

2009-02-10 Thread André Warnier
Anthony J. Biacco wrote: I did in fact read the rfc before I posted, but it seems to me that once you're doing proxying to an application server, these facts don't apply anymore. I could be way off base. But a GET proxied to an application server doesn't have to, and (depending on how the

[us...@httpd] Too many open files (24) - ulimit not obeyed?

2009-02-10 Thread Fletcher Cocquyt
Hi, my apache 2.0.52 is logging Too many open files (24) and throwing HTTP error code 500 the apachectl script sets the max FD to 65536, and lsof shows ~20,000 entries for httpd (about 6000 txt - others are pipes to cronolog) It seems like the ulimit is not obeyed, but I echoed the settings

RE: [us...@httpd] cache POST requests

2009-02-10 Thread Anthony J. Biacco
In those respects, then I would concur. It was in that the application server can choose not to honor the predictability of the GET and change data or send different data back instead, is what tripped my mind up. Was much simpler years and years ago when you were just GETing static files from

RE: [us...@httpd] make install fails on Solaris sun box

2009-02-10 Thread Jorge Medina
Hi Phil, Solaris 10 ? Sparc or x86 ? 32 or 64-bit ? Provide your configure statement and the values of your shell environment before starting the script. (In particular the value of CPPFLAGS, CFLAGS, CXXFLAGS, LD_LIBRARY_PATH).. Provide as many details as possible of your environment if you

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

2009-02-10 Thread - -
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 certificates signed by this CA: One for the webserver and

[us...@httpd] IPv6 bug in 2.2xx on Windows

2009-02-10 Thread Ravindra
Hi, We faced problems in using 2.2.10 with IPv6 on Windows. However, after applying the patch provided here (http://win6.jp/Apache22/index.html), we could successfully use 2.2.10 with IPv6 on Windows. We also figured that IPv6 support on Linux was working fine even in older versions like 2.0.59.

Re: [us...@httpd] Too many open files (24) - ulimit not obeyed?

2009-02-10 Thread Arnab Ganguly
I assume you tried ulimit -H -n 65536 in the apachectl, also echo the changed value within the script see the changes are getting affected for the current process. Next is can you see the TCP states of the socket opened, it is quite possible the sockets are opened but not closed correctly hence

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

2009-02-10 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hi All, I have compiled Apache/1.3.41+ mod_ssl/2.8.31 +OpenSSL/0.9.7l+ mod_jk/1.2.3 +mod_perl/1.30. Apache is serving HTTP requests properly,but when an HTTPS request is sent, Apache child process is crashing and the following message is observed in error_log. [Mon Feb 9 15:27:23

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

2009-02-10 Thread Anthony J. Biacco
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 see if any unusual files or