Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    1

    Default change Default Virtual Host entry

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If it is possible, it'll only be by editing /scripts/wwwacct

    The script will be overwritten by the daily upcp run, though.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Quote Originally Posted by chirpy
    If it is possible, it'll only be by editing /scripts/wwwacct

    The script will be overwritten by the daily upcp run, though.
    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.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. it DOESNT allow me to change Main Shared Virtual Host IP
    By unity100 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 04-07-2011, 10:46 AM
  2. You can change the default DNS entry of Webmail?
    By Quickfast in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-04-2011, 04:36 PM
  3. change Main Shared Virtual Host IP (not working)
    By boatdesign in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 11-18-2010, 07:21 PM
  4. customize apache's default virtual host
    By deviancelabs in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-16-2009, 02:25 PM
  5. Dedicated IP address default virtual host
    By xous in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-08-2008, 08:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube