Bagaimana cara mengganti url login cpanel?


Status
Not open for further replies.

Varza

Beginner 1.0
Bagaimana cara mengganti url login cpanel? Dari domain,com/cpanel jadi domain,com/controlpanel atau lainnnya?
 
bisa. edit aja file /etc/apache2/conf/httpd.conf
Tapi sebenernya apa yang Anda mau sudah disediakan koq.. coba aja domain .tld/controlpanel
Tapi kalau mau pake nama folder lain, ya tinggal tambahkan aja di scriptalias di bawah ini
Code:
<IfModule alias_module>
    ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    ScriptAliasMatch ^/?webmail$ /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/?webmail/ /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi

    Alias /bandwidth /usr/local/bandmin/htdocs/
    Alias /img-sys /usr/local/cpanel/img-sys/
    Alias /java-sys /usr/local/cpanel/java-sys/
    Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /pipermail /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /sys_cpanel /usr/local/cpanel/sys_cpanel/

    ScriptAlias /cgi-sys /usr/local/cpanel/cgi-sys/
    ScriptAlias /mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/

</IfModule>

Tapi filenya akan kereset tiap ada new account :v
atau kalau mau gak kereset, tambahkan aja fungsi alias di file /etc/apache2/conf.d/includes/pre_virtualhost_global.conf :

Code:
<IfModule alias_module>
    ScriptAliasMatch ^/?namafoldersemaumu/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
</IfModule>
 
sebenarnya ujung2nya tetap redirect sih, jadi ga begitu ngaruh...
 
gak ada yang urgent pak harus mengganti url login cpanel, biarkan default saja
cuma tambah securitynya, kalo gagal login kena block
 
Status
Not open for further replies.
Back
Top