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.

New index.html page on base server name

Discussion in 'General Discussion' started by jsteel, Feb 3, 2004.

  1. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Anyone else notice that cPanel pushed out a new index.html file to the website for the base server name about 4 days ago?

    We had custom pages on every server and they simply went and overwrote them! Thanks for nothing but giving us more work to do restoring them. You could have checked to see if there was already an index.html page and not overwritten it if it existed! Now we have to go recreate them for about 30 servers; this time we'll make sure we set the immutable bit. What a bone-headed move you made; who's bright idea was this one?!!?
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Yep! Same thing here. PLUS!!! Where do they get off advertising themselves on there as well.

    What a bunch of aholes for this one.

    We use cpanel to manage clients not for allowing them to rewrite index pages and give themselves free advertising space.
     
  3. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    I was a bit annoyed about this too.
    I had scripts embedded in the default apache installation page for monitoring purposes.
    Ah well, replaced it again now, and made a backup just incase.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Thanks for the warning. I haven't upgraded cpanel for a while but should soon. I'll be ready to replace mine.
     
  5. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA

    Nick !!! this bit me as well. deleted my custom page!!! bad nick ..bad boy!!!
     
  6. thedavid

    thedavid Well-Known Member

    Joined:
    Nov 22, 2002
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Hah! I just noticed this tonight myself..

    "About cPanel:

    cPanel is a leading provider of software for the webhosting industry. If you would like to learn more about cPanel please visit our website at http://www.cpanel.net/. Please be advised that cPanel is not a webhosting company itself, and as such is not responsible for content found elsewhere on this site."

    Where are the links to cpanel/whm like there used to be?

    Guess I'll be creating a custom page as well, as I don't mind the old page but the new one.. well, I don't really like advertising too much unless I get a cut of the sales..

    Not a big deal though - like someone else said, just change it and make it immutable.

    -David
     
  7. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Unless you want to translate the message into the language of my users, then stay the hell away from my index page! Who gave you permission to overwrite our changes???????
     
  8. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    I have heard one person say they made theirs immutable and it got overwritten anyway. Apparently, the update script runs a chattr -i on the file before writing it. At least, that is what I have heard. I don't know, since my host names do not point to the /usr/local/apache/htdocs driectory. I have never had my index file overwritten, because it is in a /hjome/username/www directory. I just edit the httpd.conf file manualy to point the hostname whereever I want.

    Even though this issue does not affect me, I do find it disturbing. I also find it interesting that Nick has posted to other threads on the board while this one is here, but has chosen not to deal with this thread.
     
  9. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider

    That's because the other threads don't show that they screwed up, also the fact he could not provide any sort of answer that would satisfy any of us.

    I am also po'd at the fact the script did not at least make a backup. That in itself is totally unacceptable and just bad practice.
     
  10. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I just upgraded and am now on 8.8.0-R53. I also had to re-upload my page.
     
  11. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    damn this. Will have to go through all boxes to put back pages. Not a nice move nick.
     
  12. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Yours is the best idea. I do this also. If you do this, and as long as httpd.conf is not overwritten by Cpanel....... then this issue is moot.
     
  13. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    I just wrote a cron job that runs 30 minutes after my upcp runs that replaces all my files in the htdocs folder. :)
     
  14. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Granted, that does make it moot too a point. I think though the bigger issue is the fact it was done without warning, without backing up the file, nothing. That alone should cause some concern as this could have been any file anywhere on anyones server. It also very bad programming to do things like this without making backups of some sort of existing files. That's the bigger issue for me.
     
  15. DataDork

    DataDork Active Member

    Joined:
    Apr 11, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location of server index file?

    Can someone point to me to the default location of the file to alter.
     
  16. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    Re: Location of server index file?

    /usr/local/apache/htdocs/ <files>
     
  17. DataDork

    DataDork Active Member

    Joined:
    Apr 11, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Re: Re: Location of server index file?


    I have a number of index files with various extensions. Do they all need to be altered or can they be deleted, with the expection of index.html?

    Thanks for the reply...
     
  18. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    They can be deleted and just keep index.html
     
  19. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Re: Re: Re: Location of server index file?

    Index.html is the one that cpanel has modified.
     
  20. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    It's about time.
     
Loading...

Share This Page