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.

WHM updates overwite my changes

Discussion in 'General Discussion' started by Michael-MS, May 24, 2003.

  1. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    Hello!

    I'm trying to make changes to a WHM script (/usr/local/cpanel/base/redirect.cgi).

    The problem is that my changes are only temporary until the next WHM update. Is there any way to make it so that WHM can't overwrite my changes while still allowing the script to still execute properly?

    Thanks,
    Michael

    cPanel.net Support Ticket Number:
     
  2. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    Thanks to Rich from RS Forums:

    "chattr +i redirect.cgi"

    That's what I was looking for! Just posting it here so anyone who searches finds the answer. ;)

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page