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.

change Default Virtual Host entry

Discussion in 'General Discussion' started by ryantechsupport, Mar 4, 2005.

  1. ryantechsupport

    ryantechsupport Registered

    Joined:
    Mar 3, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    How can i change the default virtual host entries while creating accounts.

    I want to a add rewrite rule that will prevent cross site scripting attacks.

    Thank you
    Ryan
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If it is possible, it'll only be by editing /scripts/wwwacct

    The script will be overwritten by the daily upcp run, though.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That's where my watchwwwacct script comes in handy. ;) You customize the wwwacct script and the majority of updates just put it back to it's original, in which case, my script puts the edited version back again. If an update involves changes to that script, my script will tell you that it has been changed and where so you can just redo your customization.
     
Loading...

Share This Page