Re: [users@httpd] undefined reference to "apr_file_link"

2012-03-15 Thread Aubrey Li
Thanks, this one works! On Fri, Mar 16, 2012 at 7:54 AM, Tianyin Xu wrote: > hmmm... this problem can be probably solve by put the newest apr and > apr-util libs in your source code directory, and then build your httpd based > on them. > > Try this: > > Download the apr and apr-util from the > li

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Eric Covener
> I think so. This is a paradigm shift for people using NameVirtualHost > a.b.c.d and taking advantage of the old "default" per-ip container > for virtualhost patterns matching a.b.c.d. on the same port. The > wildcard in the first container is what is causing the problem for me. In 2.4, the only

Re: [users@httpd] undefined reference to "apr_file_link"

2012-03-15 Thread James
I've had to do the same thing when compiling under RHEL 5.7 64 bit. Im just verifying that the mentioned solution worked for me. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Tianyin Xu wrote: hmmm... this problem can be probably solve by put the newest apr and apr-uti

Re: [users@httpd] Apache httpd with custom module does not start when I am not running is root

2012-03-15 Thread Tianyin Xu
which module did you load? Can you tell how to replay your problem? thanks! On Tue, Mar 13, 2012 at 11:01 PM, Abhi Auradkar wrote: > All, > > > I have apache httpd 2.2.21. I load a custom module into it. > When this is done I always need to be a root or sudo to start apache > process. > > If

Re: [users@httpd] undefined reference to "apr_file_link"

2012-03-15 Thread Tianyin Xu
hmmm... this problem can be probably solve by put the newest apr and apr-util libs in your source code directory, and then build your httpd based on them. Try this: Download the apr and apr-util from the link: http://apr.apache.org/download.cgi 1. untar these two tarballs and put them into the s

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Brett @Google
On Fri, Mar 16, 2012 at 12:38 AM, Eric Covener wrote: >> In your example it checks in the virtual hosts matching ip:port in >> config file order : >> >> 1. ServerName www.example.com >> >> 2. ServerName gone.example.com >> >> 3. ServerName forbidden.example.com >>    ServerAlias *.example.com >> >

Re: [users@httpd] undefined reference to "apr_file_link"

2012-03-15 Thread Eric Covener
On Thu, Mar 15, 2012 at 12:01 PM, Aubrey Li wrote: > Sorry to bother if this is a known issue, building httpd-2.4.1 run > into the following error. Searching the web for "undefined reference to `apr_file_link'" has a number of pointers. ---

Re: [users@httpd] [RHEL6.2] SSL handshake failure

2012-03-15 Thread Mark Montague
On March 15, 2012 13:31 , Aubrey Li wrote: Thanks for your reply. here is the output of httpd -V. [...] -D HTTPD_ROOT="/export/bench/benchmarks/apache2" -D SUEXEC_BIN="/export/bench/benchmarks/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runt

Re: [users@httpd] [RHEL6.2] SSL handshake failure

2012-03-15 Thread Aubrey Li
Hi Mark, Thanks for your reply. here is the output of httpd -V. Everything looks good. Please let me know if I can offer more information. Thanks, -Aubrey === # ./apachectl restart -V Server version: Apache/2.4.1 (Unix) Server built: Mar 16 2012 08:37:57 Server's Module Magic Nu

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-15 Thread Anam Ali Khan
Why are you defining mod_proxy_balancer directives in WEB1 & WEB2. You only need to configure these in Apache Load Balancer machine. Correct me if i am wrong. -Anam From: Anam Ali Khan To: "users@httpd.apache.org" Sent: Thursday, 15 March 2012, 22:13 Subje

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-15 Thread Anam Ali Khan
Do not use session replication/sharing, use session stickiness instead. -Anam From: Igor Cicimov To: users@httpd.apache.org Sent: Wednesday, 14 March 2012, 14:48 Subject: RE: [users@httpd] Apache + Tomcat Load Balancing What is in apache log file, any prox

Re: [users@httpd] [RHEL6.2] SSL handshake failure

2012-03-15 Thread Mark Montague
On March 15, 2012 11:43 , Aubrey Li wrote: I built httpd-2.2.22 on a RHEL6.2 system with SSL enabled. Then I made a client to create a connection to httpd but received a handshake failure report. how I built httpd-2.2.22 === ./configure --enable-ssl --enable-so --with-mpm=wo

[users@httpd] undefined reference to "apr_file_link"

2012-03-15 Thread Aubrey Li
Sorry to bother if this is a known issue, building httpd-2.4.1 run into the following error. === /usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread-o rotatelogs rotatelogs.lo /usr/local/apr/lib/libaprutil-1.la -lexpat /usr/loc

[users@httpd] [RHEL6.2] SSL handshake failure

2012-03-15 Thread Aubrey Li
Hi, I built httpd-2.2.22 on a RHEL6.2 system with SSL enabled. Then I made a client to create a connection to httpd but received a handshake failure report. how I built httpd-2.2.22 === ./configure --enable-ssl --enable-so --with-mpm=worker --prefix=$BENCH/apache2 I created a

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Eric Covener
On Thu, Mar 15, 2012 at 10:24 AM, Brett @Google wrote: > Is order significant ? I think order is only significant in these cases: 1) the first-listed is the default if no name/alias match 2) if you have duplicate servername/servername or serveralias/serveralias [untested, presuming consistent re

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Brett @Google
Is order significant ? In your example it checks in the virtual hosts matching ip:port in config file order : 1. ServerName www.example.com 2. ServerName gone.example.com 3. ServerName forbidden.example.com ServerAlias *.example.com The wildcard is last in your example, in mine it is first

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Eric Covener
> If i comment out > "ServerAlias *.example.com" traffic to test.example.com goes to the > more specific container and others to the default, but only because > "revproxy.internal" is also the name of the server in the global > server configuration, so the first virtualhost also happens to be the >

Re: [users@httpd] an unknown filter was not added: GZIP

2012-03-15 Thread Brent Clark
On 14/03/2012 16:30, Tom Evans wrote: mod_deflate provides the DEFLATE filter which implements the deflate compression algorithm. It doesn't provide a GZIP filter. Somewhere in your config you are trying to "SetOutputFilter GZIP" ? Cheers Tom Hi Tom Thank you so much for replying. A quic

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Brett @Google
On Thu, Mar 15, 2012 at 7:37 PM, Tom Evans wrote: >> Ideally i'd like to do something like (whihc i could do in apache 2.2 >> - by virtue of NameVirtualHost, and grouping by IP with one as the >> default) : >> >> # serve a "we dont host this web site error message" by default for >> *.example.com

Re: [users@httpd] ProxyExpressEnable

2012-03-15 Thread Jim Jagielski
Thanks for the suggestion... Should be ez enuff to add. Not sure if I'll be able to do so before 2.4.2, but 2.4.3 for sure. On Mar 14, 2012, at 9:55 PM, Brett @Google wrote: > In apache 2.4 i'd like to use the new ProxyExpressEnable on a > wildcarded VirtualHost, and put a some more specific Virt

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Tom Evans
On Thu, Mar 15, 2012 at 1:35 AM, Brett @Google wrote: > Hello, > > There is an example at : > http://httpd.apache.org/docs/2.4/vhosts/name-based.html > > > # This first-listed virtual host is also the default for *:80 > ServerName www.example.com > ServerAlias example.com *.example.com > Documen