The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect customer website using apache or nginx directive via API

Discussion in 'cPanel Developers' started by haulpd, Jul 26, 2017.

  1. haulpd

    haulpd Active Member

    Joined:
    May 20, 2011
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    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!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,094
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page