Redirect customer website using apache or nginx directive via API
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!
-
Hello, There's no corresponding WHM API 1 or UAPI function to modify the Virtual Host for a domain name, but you can follow the instructions on this document to make the changes: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Keep in mind no support exists for Nginx at this time (it's offered through third-party applications). Thank you. 0
Please sign in to leave a comment.
Comments
1 comment