       +‡¤j                    z>Nb    y¤j    b@  ®ž                                                                                                                                 Accept-Encoding,User-Agent                                                                                                      wŸSOº.ã«gö- 2Bï    
KEY: https://avaliareassessoria.com.br/Ven-SS/root/proc/self/cwd/scripts/update_users_vhosts
HTTP/1.1 200 OK
Date: Fri, 11 Sep 2026 21:56:43 GMT
Server: Apache
Last-Modified: Thu, 07 Apr 2022 01:29:30 GMT
Accept-Ranges: bytes
Content-Length: 801
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: text/plain

#!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/update_users_vhosts             Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

use strict;
use warnings;

use Cpanel::ConfigFiles::Apache::vhost   ();
use Cpanel::HttpUtils::ApRestart::BgSafe ();

my $user = $ARGV[0];

if ( !$user ) {
    print "Usage: $0 <user>\n";
    exit 1;
}

my ( $ok, $msg ) = Cpanel::ConfigFiles::Apache::vhost::update_users_vhosts($user);
die "$msg\n" if !$ok;

print "All vhosts for user $user have been updated successfully.\n";

Cpanel::HttpUtils::ApRestart::BgSafe::restart();

exit 0;
