[users@httpd] branched directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Endif

 

I tought something like

BrowserMatch mozilla errror_page=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

 

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux