Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    3

    Default Customize Suspend Account template

    Hello,

    i have a few clients with Suspended Accounts that i want them to display a different message or template file, but i don't want to change the Suspend Account Default Template because is correct for the other Suspended Accounts these accounts are just an "exception", is this possible to do? how?

    Thanks,

    JN

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Customize Suspend Account template

    I think you might be able to do this although I've not tried it. When an account is suspended the .htaccess file in public_html is edited and this line added:

    RedirectMatch .* /cgi-sys/suspendedpage.cgi

    I would guess you could edit that line to point to some other page if you wanted.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  3. #3
    Registered User
    Join Date
    Jul 2011
    Posts
    3

    Default Re: Customize Suspend Account template

    thanks for the reply Infopro,
    but the .htaccess file seems to be empty (0 k) :|

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Customize Suspend Account template

    When the account is suspended, the original .htaccess if there is one, I believe is renamed and the new one with that one line in it is added. Be sure the account is suspended and that you can view "dot" files to view the newest .htaccess file.

    If there is no .htaccess file at all, that account should not be suspended. The .htacess is a part of that process, there must be one.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  5. #5
    Registered User
    Join Date
    Jul 2011
    Posts
    3

    Default Re: Customize Suspend Account template

    Quote Originally Posted by Infopro View Post
    When the account is suspended, the original .htaccess if there is one, I believe is renamed and the new one with that one line in it is added. Be sure the account is suspended and that you can view "dot" files to view the newest .htaccess file.

    If there is no .htaccess file at all, that account should not be suspended. The .htacess is a part of that process, there must be one.
    Well, you're right.
    I don't know why but the public_html had an empty .htaccess file, but I've noticed that the 'web' directory had a .htaccess file with all the properties you've indicated, after modifying the URL it worked fine for me, in booth client accounts.
    Thanks for the help

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Customize Suspend Account template

    Not sure what you mean by web directory, but as long as you got it working thats all that matters.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

Similar Threads & Tags
Similar threads

  1. Filed with Developers Search for Suspend / Unsuspend an Account function in WHM [Case 57215]
    By DjiXas in forum Feature Requests for cPanel/WHM
    Replies: 8
    Last Post: 02-22-2012, 09:10 AM
  2. cPanel customize account transfer
    By Pixelation in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-14-2011, 10:20 AM
  3. suspendacct to suspend account, what command to suspend reseller?
    By sodapopinski in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-06-2009, 10:06 AM
  4. Email Customize when Account Created
    By xMoDx in forum cPanel Developers
    Replies: 7
    Last Post: 11-22-2007, 11:49 AM
  5. Suspend Account?
    By jackal in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-27-2003, 06:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube