Redirect customer website using apache or nginx directive via API

haulpd

Active Member
May 20, 2011
31
1
58
I want add Redirect directive to apache or nginx to redirect customer website to another site when it have malware via API instead of use UAPI Mine::add_redirect, which at RerwriteRule to .htaccess because in any situation I will compose with .

How can i do that ?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463