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.

modifying wwwacct script

Discussion in 'General Discussion' started by s3kk3y, Jun 19, 2003.

  1. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I was wondering if someone could help me out.

    I want to hack the wwwacct script so that when a new account is setup, it would add the username to the "userdir" line.

    For example:

    <IfModule mod_userdir.c>
    Userdir disabled
    Userdir enabled myusername
    </IfModule>

    Then, when a new account is added it will add the new username at the end of the Userdir enabled line like so:

    <IfModule mod_userdir.c>
    Userdir disabled
    Userdir enabled myusername newusername
    </IfModule>

    The reason I do this is because I enable the preview link for only 7 days, then delete the username so clients cannot leech the server bandwidth.

    Would anyone be so kind to paste the code to add to the wwwaccts script to do the above?

    cPanel.net Support Ticket Number:
     
  2. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    anyone?

    Would anyone be willing to do it for $20 USD?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page