Re: [us...@httpd] How to configure SSL-Proxy Session-Resumption?

2010-12-05 Thread Rainer Jung

On 05.12.2010 01:30, Qingshan Xie wrote:

Hello!

   We have a Reverse Proxy server, which initiates SSL connection to the backend
server, functioning as a SSL client.  In order to enable Session-Resumption,
should we configure SSLSessionCache and SSLSessionCacheTimeout?


AFAIR the reverse proxy does not implement session resumption for SSL 
backends. It neither uses its own SSL session cache nor the caching 
facilities provided by OpenSSL itself. It only uses its own SSL session 
caching when acting as an SSL server, not when acting as an SSL client.


It is not as bad as it sounds: the proxy - if configured correctly - 
uses HTTP Keep-Alive connections to the SSL backend and dispatches all 
incoming requests to a pool of backend connections. So when load 
increases you typically need much less backend connections and thus SSL 
handshakes than you would need for direct client communications.


I did a little experiment a few months ago, so there is a patch for 
Apache 2.2.x at 
http://people.apache.org/~rjung/patches/apache-2_2-revproxy_ssl_client_session.patch 
which uses Apache's internal session cache also for the SSL client in 
the reverse proxy. The patch is experimental. As far as I remember it 
did work, but there are some debug statements in it etc. It was 
developed using 2.2.15, but it does apply cleanly to the head of 2.2. 
When experimenting with the patch it will use the settings provided by 
SSLSessionCache and SSLSessionCacheTimeout.


Regards,

Rainer

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Multi-level virtualhost inherit

2010-12-05 Thread Nicolas Froidure
Hello!

Are there a way to make mutlti-level virtualhosts ?

I've many virtualhosts on my httpd.conf file. There are 3 classes of 
virtual hosts (static content, dynamic content with rewrite rules, others).

I would like to be able to define more than one base virtualhost for reuse 
them in my other virtualhosts. Is it possible ?

Thank you.
---
nfroidure



  

Re: [us...@httpd] Multi-level virtualhost inherit

2010-12-05 Thread Jorge Schrauwen
You may want to look at mod_macro, or mod_perl if you want really
complex setups.


~Jorge



On Sun, Dec 5, 2010 at 12:28 PM, Nicolas Froidure
froidure_nico...@yahoo.fr wrote:
             Hello!

     Are there a way to make mutlti-level virtualhosts ?

     I've many virtualhosts on my httpd.conf file. There are 3 classes of
 virtual hosts (static content, dynamic content with rewrite rules, others).

     I would like to be able to define more than one base virtualhost for
 reuse them in my other virtualhosts. Is it possible ?

     Thank you.
 ---
 nfroidure



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] PHP Issue...

2010-12-05 Thread Scott Shippee
Not sure this is really the place for this question.  but I am hoping that
someone might have an answer nonetheless.

 

I use php5 (Apache2, php5, Ubuntu) and a product called phpAlbum, which up
until now has worked great.  Recently one of my customers required that I
turn off SHORT_TAGS in php, which resolved their problem just fine.
However, it has cause the phpAlbum product to fail, which uses short tags.
The programmer that wrote phpAlbum had talked about producing his product
with short tags.  But nothing has been posted since mid-last  year on his
web site.

 

Anyway the real question is:  Is there a way to have short tags turned on
for one web site and turned off for another?

 

As always any help would be great.  Thanks.

 

Scott

 

 



Re: [us...@httpd] PHP Issue...

2010-12-05 Thread Marcin 'Rambo' Roguski
 Anyway the real question is:  Is there a way to have short tags turned
 on for one web site and turned off for another?

Yes, either by

php_flag short_open_tags on

in .htaccess or separate php.ini for vhost.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Filters not applied with ErrorDocument pages?

2010-12-05 Thread Dennis Jacobfeuerborn
I just noticed that when I use ErrorDocument to server custom 404 pages the 
output filter I defined is not getting used anymore. Is there some special 
configuration required to make the filters also work on custom error pages?


Regards,
  Dennis

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org