httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rasconi Luca \(u.e.\)" <Luca.Rasc...@guest.vtin.it>
Subject [users@httpd] branched directives
Date Wed, 12 Oct 2005 14:21:45 GMT
Hi all,

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

 

if user_agent= mozilla then

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

Else if user_agent= dtv

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

Endif

 

I tought something like 

BrowserMatch mozilla errror_page=http://myhost.it/error_for_mozilla.html
<http://myhost.it/error_for_mozilla.html> 

BrowserMatch dtv errror_page=http://myhost.it/error_for_mce.html

 

ErorDocument 404 $error_page

 

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

 

Tnx,

Luca

 

 


Mime
View raw message