Account Suspended Page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • james
    Senior Member
    • Mar 2004
    • 183

    Account Suspended Page

    Hi,

    When you suspend a client's account, is there any way to stop the URL from being redirected from their domain name to http://dis-xxx.cpanelxx.gzo.com/suspended.page/?

    It would be good if we could have a bit more control over this.

    Thanks,

    James
  • james
    Senior Member
    • Mar 2004
    • 183

    #2
    For a temp fix i'ved used a http meta refresh of 0 seconds on my suspended.page to point to mydomain/suspended/.

    Can anyone think of a different solution?

    James

    Comment

    • sdjl
      Senior Member
      • Mar 2004
      • 502

      #3
      You could do the same as a meta-refresh, just with PHP instead

      PHP Code:
      <?php

      header
      ("Location: http://url.com/suspended/");
      exit;

      ?>
      That may appear more seamless than a meta-refresh.

      David
      -----
      Do you fear the obsolescence of the metanarrative apparatus of legitimation?

      Comment

      • james
        Senior Member
        • Mar 2004
        • 183

        #4
        Good suggestion sdjl,

        I thought of it before but i thought it had to be index.html.

        I ssh'ed in and deleted the index.html in the suspended.page folder then make a index.php file instead, and it worked!

        Thanks for the tip.

        James

        Comment

        • Courtly
          Member
          • Sep 2004
          • 35

          #5
          How do we edit the suspended.page folder?

          I can find where in WHM to edit the suspended.page PAGE itself, but where would you edit the contents of the folder so as to use the index.php adjustment described above?
          Ok, you guys start coding.
          I'll go find out what the customer wants.

          Comment

          • AndrewT
            Administrator
            • Mar 2004
            • 3653

            #6
            Login to FTP with your WHM username and password. Go to the public_html directory and then go to the suspended.page directory. If the directory does not exist you can create it.

            Comment

            Working...