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.

Bug - changing username in httpd.conf

Discussion in 'General Discussion' started by pcsousa, Dec 14, 2005.

  1. pcsousa

    pcsousa Well-Known Member

    Joined:
    May 28, 2004
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    I made lot of cpanel usernames in this format (site###):

    site101
    site123
    site145
    (etc)

    Also I made my own site with cpanel username uid1.
    Some day I decided I need to change my username to site1, to make everything in the same format. So, I open "account modification" for my site and made it site1. Everything went ok except SSL, I dont know how SSL stops, but after this I decided to put username back and with this, maybe the SSL start to work. So, I open "account modification" for my site again and made it uid1 again. Well this was a terror: cPanel search for all "site1" ocurrences at httpd.conf and replace them with "uid1". This way all httpd document path became uid101, uid123, uid145, etc, instead of site101, site123, site145, etc.. All sites became down after httpd restart because apache can not find document root. I made all them back manually!

    You showl check this "search & replace"!

    Regards.
     
  2. pcsousa

    pcsousa Well-Known Member

    Joined:
    May 28, 2004
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    This is happening also with other formats, like uid1234 (I use this for user id ####). This is a very bad bug for cPanel. When I change uid12 to SOMETHING, all uid12?? became offline!
     
  3. pcsousa

    pcsousa Well-Known Member

    Joined:
    May 28, 2004
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    also is adding more than once the code:

    <IfModule mod_userdir.c>
    UserDir disabled
    UserDir enabled user
    </IfModule>

    very buggy this script.
     
Loading...

Share This Page