Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Subdomain restore missing open_basedir

Discussion in 'General Discussion' started by sparek-3, Aug 23, 2007.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,651
    Likes Received:
    73
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    There appears to be a bug in cPanel account restore function.

    If a server has open_basedir protection enabled, then when an account is restored from a backup, the subdomains for that account do not include the open_basedir lines in the VirtualHost entry for the subdomains.

    For example, if you have the domain, example.com and it has a subdomain, sub.example.com. And if you have open_basedir protection enabled on the server. If that account is restored from its backup, the VirtualHost for example.com will be correct, it will have the open_basedir protection lines. However, the VirtualHost for sub.example.com will not have the open_basedir protection lines.

    I have tested this on Release-16448. The same behavior can be seen whether you use the command line /scripts/restorepkg or if you restore an account from a backup in the WHM.

    I have posted this in Bugzilla

    http://bugzilla.cpanel.net/show_bug.cgi?id=5781
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice