Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 87307 invoked from network); 12 Oct 2005 14:22:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2005 14:22:21 -0000 Received: (qmail 11240 invoked by uid 500); 12 Oct 2005 14:22:11 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 11223 invoked by uid 500); 12 Oct 2005 14:22:10 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 11212 invoked by uid 99); 12 Oct 2005 14:22:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 07:22:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.48.12.54] (HELO fep-exchange-2.vtin.it) (212.48.12.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 07:22:10 -0700 Received: from EVS2003-MI.vtin.it ([212.48.12.51]) by fep-exchange-2.vtin.it with Microsoft SMTPSVC(6.0.3790.1830); Wed, 12 Oct 2005 16:21:45 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5CF38.467B10E3" Date: Wed, 12 Oct 2005 16:21:45 +0200 Message-ID: <4313D91A808B0E48947FBBB483599BAB6AFA32@EVS2003-MI.vtin.it> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: branched directives Thread-Index: AcXPOEYY7uq5HnVmRvmiBP2Md9gxdA== From: "Rasconi Luca \(u.e.\)" To: X-OriginalArrivalTime: 12 Oct 2005 14:21:45.0885 (UTC) FILETIME=[468F6CD0:01C5CF38] X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] branched directives X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5CF38.467B10E3 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi all, Im configuring apache in a such way I can select the right error page=20 =20 if user_agent=3D mozilla then ErrorDocument 404 http://myhost.it/error_for_mozilla.html Else if user_agent=3D dtv ErrorDocument 404 http://myhost.it/error_for_mce.html =20 Endif =20 I tought something like=20 BrowserMatch mozilla = errror_page=3Dhttp://myhost.it/error_for_mozilla.html =20 BrowserMatch dtv errror_page=3Dhttp://myhost.it/error_for_mce.html =20 ErorDocument 404 $error_page =20 Apache suport this feature? If not somebody can suggets me the right way, if there is? =20 Tnx, Luca =20 =20 ------_=_NextPart_001_01C5CF38.467B10E3 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi all,

Im configuring apache in a such way I can = select the right error page

 

if user_agent=3D mozilla = then

  ErrorDocument 404 http://myhost.it/error_f= or_mozilla.html

Else if user_agent=3D = dtv

  ErrorDocument 404 http://myhost.it/error_for_mce.html

Endif

 

I tought something like =

BrowserMatch mozilla = errror_page=3Dhttp://myhost.it/error_for_mozilla.html

BrowserMatch dtv errror_page=3Dhttp://myhost.it/error_for_m= ce.html

 

ErorDocument 404 = $error_page

 

Apache suport this feature? If not somebody = can suggets me the right way, if there is?

 

Tnx,

Luca

 

 

------_=_NextPart_001_01C5CF38.467B10E3--