Re: AW: Can't Compile httpd 2.2.11 linked statically with ssl and zlib

2008-12-18 Thread Morgan Gangwere
xPostings wrote: Hi Morgan Yes, I know apt-get very well. But in this case we need to compile the httpd ourself to get exactly the build we want to, we also include the newest jk_mod and newest openssl in the build. We did this build for years now and haven't had any problems till now. cheer

Re: How to use ErrorDocument Directive when Apache is configured as pure reverse proxy.

2008-12-18 Thread Mark Stevens
I'll have another try and re-directing to external server, it seemed to be getting ignored last time I tried. Many thanks, Mark. 2008/12/18 Eric Covener > On Thu, Dec 18, 2008 at 5:04 PM, Mark Stevens > wrote: > > Hi all, > > > > Anyone had any luck with serving custom error documents when Ap

Re: How to use ErrorDocument Directive when Apache is configured as pure reverse proxy.

2008-12-18 Thread Eric Covener
On Thu, Dec 18, 2008 at 5:04 PM, Mark Stevens wrote: > Hi all, > > Anyone had any luck with serving custom error documents when Apache is > configured as a reverse proxy? I do not have a DocumentRoot, just Rewrite > and ProxyPass back to application server? > > When the back end is overloaded, Ap

How to use ErrorDocument Directive when Apache is configured as pure reverse proxy.

2008-12-18 Thread Mark Stevens
Hi all, Anyone had any luck with serving custom error documents when Apache is configured as a reverse proxy? I do not have a DocumentRoot, just Rewrite and ProxyPass back to application server? When the back end is overloaded, Apache generates it's generic 503 Page, I need to change this defaul

Segfaults with SSLSessionCache

2008-12-18 Thread Brian Mearns
If I configure the SSLSessionCache directive to anything other than none or nonenotnull, I get a Seg fault reported in the error log when I try an HTTPS access, and my browser reports that the connection was interrupted while negotiating a connection. It works fine when I remove the directive, or s

Re: Using AuthName with mod_rewrite

2008-12-18 Thread Ravi Verma
Thank you Bob. Adding the following lines in the conf file made it work. RewriteEngine on RewriteRule ^$ http://localhost/bob/ravi.html?userid=%{REMOTE_USER} [R,L] Regards. On Thu, December 18, 2008 3:19 am, Bob Ionescu wrote: >> When I use >> RewriteEngine on >> RewriteCond %{REMOTE_USER} ^

Re: Can't Compile httpd 2.2.11 linked statically with ssl and zlib

2008-12-18 Thread Sander Temme
On Dec 18, 2008, at 5:47 AM, xPostings wrote: compiled zlib: ./configure make make install What's your prefix here? It'd probably default to /usr/local compiled openssl 0.9.8i: ./config no-zlib shared make make install Again, what's the prefix? And, specifying 'shared' will build the

Re: port and scheme virtualization via mod_proxy_ajp

2008-12-18 Thread Peter Schober
* Eric Covener [2008-12-18 18:26]: > > However, requests passed on to Apache Tomcat6 via mod_proxy_ajp don't > > seem to be virtualized properly so Tomcat sees the request coming in > > via http on port 80 (which is the physical scheme and port from > > httpd, so Tomcat is not to blame here). > >

Re: port and scheme virtualization via mod_proxy_ajp

2008-12-18 Thread Eric Covener
On Thu, Dec 18, 2008 at 12:14 PM, Peter Schober wrote: > I've setup httpd (2.2.3) behind an ssl offloading appliance and > virtualized port and scheme for the affected server (or vhost). > > ServerName https://somehost.example.org:443 > UseCanonicalName On > > However, requests passed on to Apac

port and scheme virtualization via mod_proxy_ajp

2008-12-18 Thread Peter Schober
I've setup httpd (2.2.3) behind an ssl offloading appliance and virtualized port and scheme for the affected server (or vhost). ServerName https://somehost.example.org:443 UseCanonicalName On However, requests passed on to Apache Tomcat6 via mod_proxy_ajp don't seem to be virtualized properly

Spaces in request URI when using proxy-subrequest

2008-12-18 Thread Alexey Vlasov
Hi. I noticed that when using proxy-requests in RewriteRule, there is no space encoding in URI. Proxy request: on server1 - # cat .htaccess RewriteEngine On RewriteRule (AAA.*) http://server2.com/phpinfo.php?q=$1 [L,P] # telnet server1.com 80 GET /AAA%20AAA HTTP/1.1 HOST:server1.com answer fr

AW: Can't Compile httpd 2.2.11 linked statically with ssl and zlib

2008-12-18 Thread xPostings
Hi Morgan Yes, I know apt-get very well. But in this case we need to compile the httpd ourself to get exactly the build we want to, we also include the newest jk_mod and newest openssl in the build. We did this build for years now and haven't had any problems till now. cheers mike -Ursprü

Re: Can't Compile httpd 2.2.11 linked statically with ssl and zlib

2008-12-18 Thread Morgan Gangwere
xPostings wrote: I'm trying to compile an httpd on a linux system (debian etch) completly static but can't succeed. Why? Debian already has stable in source control. Simply make sure the source repositories are enabled. Go google around "apt-get build from source" or some such. -- Morgan G

Re: Hide Directory

2008-12-18 Thread Morgan Gangwere
Brian Mearns wrote: I guess if you want to do things the easy way. =J -Brian -- hey man, easy is my job description. -- Morgan Gangwere Unknown Software http://sonof.bandit.name/ Member, INCOSE [ incose.org ] PACA [ paca.org ] and NMUG [ nmug.net ] FAIL: Cannot wind the coils on the Super

Can't Compile httpd 2.2.11 linked statically with ssl and zlib

2008-12-18 Thread xPostings
I'm trying to compile an httpd on a linux system (debian etch) completly static but can't succeed. What I did is following: compiled zlib: ./configure make make install compiled openssl 0.9.8i: ./config no-zlib shared make make install compiled apache httpd: ./buildconf ./configure --prefix=/u

Re: Stateful session replication in apache

2008-12-18 Thread Krist van Besien
On Thu, Dec 18, 2008 at 1:35 AM, Jai wrote: > Hi All, > > I know we can configure session replication in application servers. But is > it possible to have replication in apache webserver? We have two apache > servers running on production if one server goes down then users should have > to point

Re: Hide Directory

2008-12-18 Thread Brian Mearns
I guess if you want to do things the easy way. =J -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ On Thu, Dec 18, 2008 at 1:16 AM, Morgan Gangwere <0.fracta...@gmail.com> wrote: > http://sonof.bandit.name/ > Member, INCOSE [ incos

Re: Using AuthName with mod_rewrite

2008-12-18 Thread Bob Ionescu
> When I use > RewriteEngine on > RewriteCond %{REMOTE_USER} ^ That RegEx is always true (so you can skip the condition). To check for at least one character present, use a '.', i.e. %{REMOTE_USER} . But anyway... > RewriteRule ^/$ http://localhost/home.seam?userid=%{REMOTE_USER} [L] That is