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.

Locking the suspended page ?

Discussion in 'General Discussion' started by wzd, Dec 28, 2007.

  1. wzd

    wzd Well-Known Member

    Joined:
    Dec 16, 2005
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    South Africa
    cPanel Access Level:
    Root Administrator
    Hi All,

    Been searching for a few hours but i can't find anything on locking the suspended page from modification.

    It seems that when Apache updates it replaces the /usr/local/apache/htdocs/suspeneded.page to the Cpanel Default. :confused:

    Any way to keep the suspended page we've put in there? :)
     
  2. madan.cpanelnet

    madan.cpanelnet Well-Known Member

    Joined:
    Apr 1, 2006
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    Does chattr +ai /usr/local/apache/htdocs/suspeneded.page prevent that before running apache update?

    Apache update makes a backup archive of current apache folder before updating.. is it possible to restore from there?


    Best you can backup the apache folder before running a apache update and restore back the suspended page.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Are you modifying it via the WHM interface? It should preserve that copy.
     
Loading...

Share This Page